Visual Studio 17.1.0 net6.0
I have a .net6 web app. Anytime I make a change, hot reload, and then hit a break point I get the 'Edit and Continue Applying code updates...' popup. Every break point I hit after that, it pops up and won't go away unless I restart the app. Doesn't matter what the code change is. It could be adding a comment to a .cs file.
Even if I don't hot reload it causes issues. Say I add a comment to a .cs file but don't save. Same thing happens and restart of app is needed.
Basically hot reload just doesn't work and not worth having enabled. That Edit and continue screen takes 1-2 minutes to complete each time.

I just fixed this. It appears that since this was either
That not all the settings followed it. I ended up creating a .net6 MVC project from scratch and compared everything. The one change I did that corrected it was adding the debug source files under
Solution | Properties| Common Properties | Debug Source Files
For some reason mine was blank.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With