编辑并继续功能停在Visual Studio 2010中工作 [英] Edit and continue feature stopped working in Visual Studio 2010
问题描述
在Visual Studio编辑并继续功能停在Visual Studio 2010中,我不知道是什么原因造成的问题。
The Visual Studio Edit and Continue feature stopped on Visual Studio 2010, and I don't know what has caused the problem.
我在Windows应用程序的工作程序使用C#。此应用程序最初是在Visual Studio 2008,后来升级到Visual Studio 2010中。
I am working on a Windows application program using C#. This application was initially developed in Visual Studio 2008, and later upgraded to Visual Studio 2010.
一切工作正常,包括编辑和继续,直到我升级了.NET框架从3.5到4.0
Everything was working fine, including Edit and Continue, until I upgraded the .NET Framework from 3.5 to 4.0.
现在,当我使用调试模式,改变任何代码的行下面的消息在IDE中的结果:
Now when I use debug mode, changing any line of the code in the IDE results in the following message:
编辑作了不能编译。执行无法继续下去,直到
编译错误是固定的。
Edits were made which cannot compiled. Execution cannot continue until the compile errors are fixed.
其实,有没有编译错误,我必须重新启动Visual Studio中获取更新运行。
Actually, there are no compilation errors, and I must restart the Visual studio to get the updates to run.
我如何能得到编辑并继续重新工作?
How can I get Edit and Continue to work again?
推荐答案
编辑并继续功能无法与动态
关键字工作。
The Edit and Continue feature does not work with the dynamic
keyword.
我试图删除一个使用动态
参数的方法,并且转换后的项目现在可以在Visual Studio 2010中。
I tried to remove the method that uses a dynamic
parameter, and the converted project now works on Visual Studio 2010.
互联网研究发现,实在是已经报告给Microsoft的错误。下面的链接有更多的细节:
Internet research reveals that is is a bug that has been reported to Microsoft. The link below has more details:
- Dynamic object as method parameters breaks edit and continue for the class and the project
这篇关于编辑并继续功能停在Visual Studio 2010中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!