解决:MSBuildToolsPaths not specified for the ToolsVersion "14.0" defined at"HKEY LOCAL MACHINE SOFTWARE Microsoft MSBuild ToolsVersions14.0" or the value specified evaluates to the empty string.

今天遇到个奇怪的问题,本机电脑安装VS2019和VS2015,和VS2008(因为开发手持项目,必须用此版本)

 

卸载VS2015后,VS2008打开项目报错

 

 

解决办法:删除注册表14.0

1、win+R 输入 c: windows sysWoW64 regedt32.exe  打开注册表;

找到:计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0

删除解决;

 

 参考:

 

posted @ 2022-12-23 16:47  博客YS  阅读(323)  评论(0编辑  收藏  举报