我能够在 Debug模式下编辑我的代码,但随后弹出显示错误
Edits were made which cannot be compiled. Execution cannot continue until the compile errors are fixed
但错误列表为空,我已选中启用编辑并继续。
我使用的是 vs2010。
清理重启也没有解决问题。
最佳答案
当您的工作区损坏时,可能会出现此问题。只需关闭 Visual Studio,删除(或者最好先重命名).vs
文件夹,然后再次启动 Visual Studio。
它甚至可以在 VS2017 中发生。
关于c# - "Edits were made which cannot be compiled"。在 vs2010 中选中零错误和启用并编辑并继续,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36053323/