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

后端 未结 10 823
南方客
南方客 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:09

    I used C:\Windows\SysWOW64\regedit.exe and went to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\3.5 and in the folder for version 3.5 it had 2.0 listed in the defaulttoolsversion so I modified that to 3.5 and everything works now.

提交回复
热议问题