At one point, I used to have no issues editing code while debugging my console apps. Now, editing even simple code like strings and moving IF/THEN blocks around triggers the following message:
I don't have any plugins installed and don't know what VS settings I could have changed to suddenly cause this to occur. It also appears to be intermittent, meaning I can sometimes edit code while debugging. I haven't been able to isolate the specific conditions that trigger the issue.
How can I get it back to the way it was where I could edit almost any code without requiring a restart of the app?
Microsoft Visual Studio Community 2017
Version 15.9.29
VisualStudio.15.Release/15.9.29+28307.1300
Microsoft .NET Framework
Version 4.8.03761

Actually, this is an annoying issue and many people encounter this issue. If the above suggestions do not help you handle the issue, please check this:
I found that many people has encountered this issue. See this one and that one.
For your issue, anyway, I have reported the issue on our DC Forum. And you can vote it and add any comments if I did not describe the issue in detail so that it will get more Microsoft's attention. And I hope the Team will give you a satisfactory reply.
However, VS2017 is the product of the previous generation and maybe you cannot get much tips about it. Also, I found that Microsoft investigated this issue under
VS2019 16.3~16.5.Since the process might take a long time, I suggest you could try to install the latest VS2019 Community 16.8.1 version and I hope it might have a fix about it. You can try to use that. You do not have to worry about the compatibility when you migrate your project into VS2019 because VS2019 is compatible with VS2017 for
.NET. See this document.After all, as the latest product, Microsoft is more motivated to maintain it.