我正在使用Visual Studio 2012。
在我的C#项目中,我使用了一个类型化的DataTable类,它在一些方法实现中使用了dynamic关键字(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开始没有固定吗?
答案 0 :(得分:0)
在使用VS2012之前,其他成员也遇到了同样的问题:
Edit and Continue will not work when modifying a comment
E& C确实有一些默认限制:
https://msdn.microsoft.com/en-us/library/ms164927(v=vs.110).aspx
我帮助您向连接报告小组提交反馈:
产品团队将与我们分享最新信息。