clr.dll的目标版本之一mscordacwks.dll不匹配是专为 [英] The version of clr.dll in the target does not match the one mscordacwks.dll was built for
问题描述
我在使用.NET Framework 4.0的ASP.NET MVC 3应用程序的工作。当我去调试我的应用程序,我得到的消息:
I am working in an ASP.NET MVC 3 application using the .NET framework 4.0. When I go to debug my application, i get the message:
无法连接到应用程序的webdev.webserver ....
在目标的clr.dll版本之一mcordacwks.dll不匹配是专为。
"Unable to attach to application 'webdev.webserver.... The version of clr.dll in the target does not match the one mcordacwks.dll was built for.
你仍要继续吗?
我的Windows 7,全面更新。我已经修复,卸载/重新安装Visual Studio 2010和修复我使用VS 2010最终在.NET Framework 4。该应用程序是ASP.NET,MVC,.NET 4中,LINQ到SQL和ADO.NET实体和TFS。
I have Windows 7, fully updated. I have repaired and uninstall/reinstall visual studio 2010 and repaired the .NET Framework 4. I am using VS 2010 ultimate. The application is ASP.NET, MVC, .NET 4, Linq to SQL, and ADO.NET entities, and TFS.
我没有在这个项目改变任何东西,也没有我的系统上改变任何东西。我做的唯一的事情就是更新我的计算机。我曾尝试创建一个空白项目,并得到了同样的信息。我不能调试单元测试不是没有崩溃。我不知道是怎么回事!
I have not changed anything in the project nor changed anything on my system. The only thing I have done is update my computer. I have tried creating a blank project and get the same message. I cannot debug unit tests either without crashing. I have no clue what is going on!
推荐答案
我终于解决了这个!
这似乎已经发生了我更新后,我的Windows 7,我的一个文件必须已经过时了。
It seemed to have happened after I updated my Windows 7. One of my files must have been out of date.
该修补程序:安装VS 2010的Service Pack 1:
<一href=\"http://www.microsoft.com/downloads/en/details.aspx?FamilyID=75568aa6-8107-475d-948a-ef22627e57a5\">http://www.microsoft.com/downloads/en/details.aspx?FamilyID=75568aa6-8107-475d-948a-ef22627e57a5
The fix: Install VS 2010 Service Pack 1: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=75568aa6-8107-475d-948a-ef22627e57a5
我在安装后曾任职正确的权利。击中断点和一切!
Worked correctly right after I installed. Hitting breakpoints and everything!
这篇关于clr.dll的目标版本之一mscordacwks.dll不匹配是专为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!