The IIS Express FAQ notes that:
You can also manually launch IIS
Express from the command line and use
it with Visual Studio 2008, using the
custom web server option
How do I configure the Start Options to get this working?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The following seems to work for IIS Express launching from the command line:
Open the
Propertiesfor the web siteSelect
Start OptionsUnder Start Action select
Start External Program, put the path toiisexpress.exe(C:\Program Files (x86)\IIS Express\iisexpress.exe)Command Line Arguments: /path:{path to the project solution} /clr:3.5
Under
Server, selectUse Custom ServerBase Url:
http://localhost:8080/(the default for IIS Express)Important! Uncheck everything under
Debuggersotherwise you’ll get an error “Unable to start debugging on the web server.Information on launching using a config file can be found at this site: Debug Your .NET Web Project With IIS Express [Tips & Tricks]. This is VS2010 specific but I suspect the same will work for 2008.