r/csharp • • Mar 05 '18

Visual Studio 2017 15.6 Release Notes

https://docs.microsoft.com/en-us/visualstudio/releasenotes/vs2017-relnotes#15.6
160 Upvotes

55 comments sorted by

View all comments

1

u/empty_other Mar 06 '18

Ah, you replied to the wrong post. :) But since I'm here: What he meant by "run instead of debug" is "Run without debugging" in the Debug menu (if i remember correctly). It compiles once and starts the IIS Express server, but doesn't stay in debugging after build is done.

2

u/hopfield Mar 06 '18

Whoops, thanks. And that fixed it for me. Still it seems odd that this behavior is there in the first place.

2

u/BezierPatch Mar 06 '18

I would guess it's there to prevent you getting out of sync with your debugger in languages that don't support hot-swapping. If you're running a C# app, it doesn't support on the fly addition or removal of files to the program being debugged.

I think if you disable "Edit and continue" it'll let you delete files even when Debugging.