The version of clr.dll does not match the one mscordacwks.dll was built for

后端 未结 11 1858
既然无缘
既然无缘 2020-12-24 04:38

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:

相关标签:
11条回答
  • 2020-12-24 04:46

    I have finally solved this!

    It seemed to have happened after I updated my Windows 7. One of my files must have been out of date.

    The fix: Install VS 2010 Service Pack 1

    Worked correctly right after I installed. Hitting breakpoints and everything!

    Hope this works for you too!

    0 讨论(0)
  • 2020-12-24 04:49

    I have VS2013 on Win7 and restarting VS worked for me. Seems it is a VS/CLR bug.

    0 讨论(0)
  • 2020-12-24 04:55

    I had VS 2010 SP1 for ages and had rebooted many times. There wasn't any windows update in progress either. I closed all my VS 2010 IDEs and then opened them, and the problem was gone.

    0 讨论(0)
  • 2020-12-24 04:55

    This happens, when you do a WINDOWS UPDATE and haven't rebooted your system and the update isn't compatible with VISUAL STUDIO. So in order to solve this, just do an update on VISUAL STUDIO to latest. That should FIX it

    0 讨论(0)
  • 2020-12-24 04:56

    I had this when I installed .NET 4.6 for Visual Studio 2013.

    In this particular case, restarting Visual Studio 2013 solved the problem.

    0 讨论(0)
  • 2020-12-24 04:56

    I had this weird issue after installing .net framework 4.5, when using .net 4 for my project. updating VS 2010 service pack didn't solve this, only removal of .net 4.5 and 4, and then reinstalling .net 4 only.

    0 讨论(0)
提交回复
热议问题