Visual Studio 的“编辑并继续”功能在某个时候再次停止工作。
VisualStudio 2010 sp1 专业版。我正在用 c++ native 代码 编写一个 dll。我从 ide 运行主机 32 位可执行文件。我在 .dll 旁边有 .pdb。我尝试只编辑一些空白,以消除我正在创建无法注入(inject)的场景的可能性。我点击“应用更改”,这就是我在输出窗口中看到的内容。
-------- Edit and Continue build started --------
--------------------- Done ----------------------
但是我在弹出的对话框中看到了这个:
Edit and Continue
----------------------------------------
Edits were made which cannot be compiled
Click Edit to fix the code.
Click Stop to stop debugging.
Click Ignore to continue without applying edits
[Edit][Stop][Ignore]
有人知道如何解决这个问题吗?代码编译。调试断点工作。我只是想减少此应用程序必须进行测试的漫长启动时间。
最佳答案
如果这对您有用,您可以对该链接(及其答案)作者的原始帖子进行投票:Can't edit and continue when using Visual Studio 2010 on a 64 bit machine, app targets x86
关于visual-studio-2010 - 什么会得到编辑并继续工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7665975/