我正在尝试在 Visual Studio 2013 Ultimate 中调试 w3wp.exe 进程的故障转储。
当我单击“仅调试托管”、“调试混合”或“调试托管内存”时,出现错误:
“托管调试对此小型转储不可用。目标中的 clr.dll 版本与构建的 mscordacwks.dll 版本不匹配。”
“在符号设置中启用“Microsoft 符号服务器”(工具 -> 选项 -> 调试 -> 符号,选中“Microsoft 符号服务器”并指定本地缓存)”。
我已经这样做了,但仍然收到错误。
我还尝试过重新启动 Visual Studio 并重新启动。
我在 The version of clr.dll in the target does not match the one mscordacwks.dll was built for 中发现了两个相关问题和 The version of clr.dll does not match the one mscordacwks.dll was built for ,但这两个问题都与 Visual Studio 2010 相关,而我的问题与 Visual Studio 2013 相关,针对这些问题建议的修复对我不起作用。
感谢您的任何提示或想法......
最佳答案
重新启动 Visual Studio 为我解决了这个问题。
关于debugging - 目标中的 clr.dll 版本与构建的 mscordacwks.dll 版本不匹配 (Visual Studio 2013),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23475910/