工作我使用Visual Studio 2012的Visual Studio 2012编辑并继续不使用动态
在我的C#项目,我使用了一个类型化的DataTable类,它使用动态关键字在几个方法实现(Handcrafted Strongly Typed ADO.net DataTable - Can it be cleaner?) 。
在调试时,我无法使用编辑和继续功能。我得到的错误:
"Modifying a 'method' which contains a dynamic invocation will prevent the debug session from continuing while Edit and Continue is enabled."
我看过其他类似的线程,这遑EmbedInteropTypes设置为false所有引用的程序集。但就我而言,它们已被设置为假。我发现这个问题在VS2010上也有报道; VS2012是不是固定的?