Reputation: 11794
How do I enable the option to use IIS Express for a website project in my solution?
I have installed IIS Express but it does not show up as an option? I would like to use this because at the moment I cannot use IIS on my machine.
Upvotes: 2
Views: 1408
Reputation: 5526
I had this problem because I opened the site through IIS. The only way to see that the project was opened through IIS is the lack of this button and the title of the Web Site project looks like: http://localhost/x
rather than http://localhost:1111
.
To get the ability to use IIS Express, you have to remove the Web Site project from the solution and use Add Existing Web Site then choose the file system.
Upvotes: 1
Reputation: 17539
As 'Mystere Man' said you need VS 2010 service pack (SP1) to see IIS Express option in VS. If you are sure that you have SP1 installed, did you check if IIS Express exists in the installation folder? (%programfiles%\IIS Express or %programfiles(x86)\IIS Express)
If it is not installed, you can install it from http://www.microsoft.com/en-us/download/details.aspx?id=1038
Upvotes: 1
Reputation: 93444
Do you have Visual Studio 2010 SP1 installed? SP1 is required to get the IIS Express option in the Web tab of your project properties. (don't forget to also do a windows update) Also, you should install the Visual Studio 2010 Web Standards Update as well.
Upvotes: 1