使用 VS2022 调试时,即使没有修改,也经常会弹出如下错误:
错误信息:
Edits were made which cannot be compiled. Changes won't be applied until the compile errors are fixed.
解决办法
可以在调试选项中关闭。
Debug -> Options -> Debugging -> General
如下图所示,勾掉 Enable Edits and Continue and Hot Reload