smileberry

安装vs2010,vs2015后,删除2015,导致vs2016打不开

报错:Cannot evaluate the property expression "$([MSBuild]::ValueOrDefault(\'$(VCTargetsPath)\',\'$(MSBuildExtensionsPath32)\Microsoft.Cpp\v4.0\V120\\'))" found at "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\12.0@VCTargetsPath". Invalid static method invocation syntax: "[MSBuild]::ValueOrDefault(\'$(VCTargetsPath)\',\'$(MSBuildExtensionsPath32)\Microsoft.Cpp\v4.0\V120\\')". Method \'[MSBuild]]::ValueOrDefault\' not found. Static method invocations should be of the form: §([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(ab)).

 

解决办法:

删除注册表:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MSBuild\ToolsVersions\14.0

分类:

技术点:

相关文章:

  • 2022-02-08
  • 2021-12-26
  • 2021-11-21
  • 2022-01-25
  • 2021-12-03
  • 2021-12-03
  • 2021-12-17
猜你喜欢
  • 2021-07-11
  • 2021-11-27
  • 2022-02-01
  • 2022-12-23
  • 2021-11-17
  • 2021-11-17
  • 2022-01-01
相关资源
相似解决方案