clr.dll的版本与一个mscordacwks.dll所针对的版本不匹配 [英] The version of clr.dll does not match the one mscordacwks.dll was built for

查看:133
本文介绍了clr.dll的版本与一个mscordacwks.dll所针对的版本不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio 2010中有一个C#控制台应用程序,可以很好地运行.当我尝试以调试模式运行该进程时,出现以下错误:

I have a C# console app in Visual Studio 2010 that I can run just fine. When I attempt to run the process in debug mode, I am presented with the following error:

我尝试搜索任何信息,但找不到任何东西.谁能提供线索说明为什么我不能使用调试器运行它?

I have tried searching for any information, but I haven't been able to find anything. Can anyone provide clues as to why I can't run this with the debugger?

我应该澄清一下,我以前已经能够成功调试控制台应用程序,这是新情况.

I should clarify that I have been able to successfully debug a console app previously, this is a new situation.

推荐答案

据我所知,何时可以重现此错误,这是由于正在安装Windows更新引起的.因此,运行更新,然后推迟重新启动,然后尝试调试代码,这使我处于这种故障状态.

From what I can tell when I'm able to reproduce this error, it is caused by being in the middle of installing Windows updates. So, running updates, then postponing a reboot, then attempting to debug code is what was putting me in this broken state.

这篇关于clr.dll的版本与一个mscordacwks.dll所针对的版本不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆