VS2015 IIS Express cannot start solution (to), vs2015express
Due to installation of various messy software, and then accidentally uninstalled IIS Express, an IIS Express 7 is downloaded online. After installation, Local VS 2015 cannot start debugging, and F5 cannot start IIS,
Another F5 debugging, no response to IIS Express not started.
Log errors are as follows:
I tried restarting vs and modifying project properties, but it didn't work.
The solution is as follows:
Use notepad or another text editor to open the project. in the csproj file, locate <WebProjectProperties> and clear the <DevelopmentServerPort>, <DevelopmentServerVPath>, and <IISUrl> attributes of IIS. If <AutoAssignPort> is True, save the settings, use VS2015 again to open the project, and then F5. Success!
The principle is to reset the startup configuration in VS2015.
The above solution is feasible.
Reference: original address