Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

enable edit and continue unchecked

like image 803
Michał Baster Avatar asked Apr 01 '16 09:04

Michał Baster


3 Answers

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.

like image 97
bgrebil Avatar answered Sep 29 '22 20:09

bgrebil


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

1-
add "Detach All" button inside of "Stop"
2-
add "Detach All" button inside of "Stop"
3-
add "Detach All" button inside of "Stop"
4-
add "Detach All" button inside of "Stop"

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

like image 23
Mohammad Dayyan Avatar answered Sep 29 '22 18:09

Mohammad Dayyan


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.

like image 22
shyamasundara Avatar answered Sep 29 '22 19:09

shyamasundara