“进行了无法编译的编辑”。 。 vs2010中检查了零错误并启用和编辑并继续 [英] "Edits were made which cannot be compiled" . zero errors and Enable and edit and continue is checked in vs2010

查看:849
本文介绍了“进行了无法编译的编辑”。 。 vs2010中检查了零错误并启用和编辑并继续的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够在调试模式下编辑代码,但随后弹出窗口,显示错误无法进行编辑。无法修复,直到修复编译错误后,执行才能继续,但错误列表为空并且我已选中启用编辑并继续。
我正在使用vs2010。

I am able to edit my code in debug mode but then pop up shows the error that "Edits were made which cannot be compiled. Execution cannot continue until the compile errors are fixed" but error list is empty and i have checked enable edit and continue. I am using vs2010.

清理并重新启动并不能解决问题。

cleaning and restarting have not solved the problem.

推荐答案

工作区损坏时,可能会发生此问题。只需关闭Visual Studio,删除(最好先重命名) .vs 文件夹,然后再次启动Visual Studio。

This problem can occur when your workspace broke. Just close Visual Studio, delete (or better first just rename) the .vs folder and start Visual Studio again.

甚至在VS2017中也可能发生。

It can even happen with VS2017.

这篇关于“进行了无法编译的编辑”。 。 vs2010中检查了零错误并启用和编辑并继续的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆