Configure Visual Studio 2013 .sln to use Local IIS

2020-03-31 02:44发布

问题:

I keep getting errors saying that my IIS express has stopped working and I would like to configure my project to use IIS instead of IIS Express. When I run it I can see that is says IISExpress, as seen in the picture below. I tried to research a possible solution and saw that some people were able to go to properties and change the server to use Local IIS but I don't think I have that option available in the same place because I am using a different type of project. How would I be able to configure my project to use Local IIS (and stop receiving these "IIS Express Server has stopped working" error messages).

Thank you

回答1:

You need to adjust the project properties to point to IIS.

See: MSDN