MSBuild does not contain a value for the “VCTargetsPath” property

后端 未结 10 824
南方客
南方客 2020-12-07 14:06

I recently installed the Visual Studio 11 Developer Preview to try it out, and now my VS 2010 projects won\'t open. Instead, I get the following error message:

10条回答
  •  无人及你
    2020-12-07 14:26

    Here's the thing that did trick for me:

    Change registry value named DefaultToolsVersion located in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\4.0 from 2.0 to 4.0. Do the same thing in Wow6432Node too.

提交回复
热议问题