This problem occurs despite unchecked 'Enable Edit & Continue`:
Asked
Active
Viewed 963 times
19
-
Welcome to Stackoverflow! Can you please elaborate your question having your effort like code or something so that people could get your problem early and help you? Thanks! – Enamul Hassan Apr 01 '16 at 10:03
-
I'm getting this too, extremely frustrating. Previously once my mvc website had started debugging, I could stop debugging and continue using the site. If I made a C# code change I'd hit rebuild, and the change would be on the localhost website once I hit refresh. Basically my work pattern was: Do some changes, rebuild, give localhost website a quick test to see if change functions as expected After Update 2, regardless if Enable Edit & Continue is on or off, the website won't be available unless I'm in debug mode – mejobloggs Apr 04 '16 at 01:29
-
1Same here :/ It really breaks my working pattern. – Burak Dobur Apr 04 '16 at 09:57
-
1I tried fix it by 'repair installation' Visual Studio, did not help – Michał Baster Apr 04 '16 at 10:10
-
1I am experiencing the same issue. Disabling "Edit and Continue" did not help. – Diego Apr 05 '16 at 07:16
-
1I had the same issue. Try this: http://stackoverflow.com/a/14384964/1611383 – Alexander Lanin Apr 19 '16 at 07:38
-
1I've [submitted a bug report to Microsoft](https://connect.microsoft.com/VisualStudio/feedback/details/2562576/edit-continue-cant-be-disabled-which-causes-iis-express-to-stop-when-the-debugger-is-stopped). Please upvote it! – TheCloudlessSky Apr 21 '16 at 20:30
-
@TheCloudlessSky link not working – sohaiby Jun 13 '16 at 08:27
-
@sohaiby It is for me. – TheCloudlessSky Jun 19 '16 at 20:30
3 Answers
11
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.

bgrebil
- 326
- 2
- 5
-
2I've had to use the same work-around since installing Update 2. Really really annoying. – Eric Burdo Apr 11 '16 at 17:21
-
1Works for me. I've added the "Detach all" button to the Debug toolbar for easier use (until a solution or clarification is provided by Microsoft) – Matthieu Charbonnier Apr 18 '16 at 08:46
-
-
3
You have to use Debug -> Detach All
button instead.
How to add "Detach All" button inside of "Stop":
Update:
In Visual Studio 2015 Update 3 you have Enable Edit & Continue
in project's properties again.

Mohammad Dayyan
- 21,578
- 41
- 164
- 232
2
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.

Rohit416
- 3,416
- 3
- 24
- 41

shyamasundara
- 46
- 4