After installing VS 2015 Update 2, IIS Express closes when I stop debugging

こ雲淡風輕ζ 提交于 2020-01-10 07:58:07

问题


This problem occurs despite unchecked 'Enable Edit & Continue`:


回答1:


This issue has been resolved in Visual Studio 2015 Update 3. Read the release notes here.

Web Developer Tools

For ASP.NET Web Application projects, when "Enable Edit and Continue" checkbox is unchecked, the IIS Express process will no longer stop every time you stop debugging.




回答2:


This work-around is working for me. Instead of hitting the "Stop" debugging button, go to the Debug menu item and select "Detach All". This will detach VS from IIS Express, but leave it up and running.




回答3:


You have to use Debug -> Detach All button instead.
How to add "Detach All" button inside of "Stop":

1-

2-

3-

4-

Update:
In Visual Studio 2015 Update 3 you have Enable Edit & Continue in project's properties again.



来源:https://stackoverflow.com/questions/36353293/after-installing-vs-2015-update-2-iis-express-closes-when-i-stop-debugging

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!