delphi 10.1编译项目的时候出现MSBuildToolsPath is not specified for the ToolsVersion解决办法
2017-03-27 12:57
567 查看
今天在使用delphi 10.1编译项目的时候出现MSBuildToolsPath is not specified for the ToolsVersion "14.0" defined at "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0", or the value specified evaluates to the empty string. 错误提示。在网上找了说是卸载VS2015的时候没有卸载彻底造成的,我前几天刚把VS2015从电脑上卸载了。 解决办法:32位的机器:在注册表中找到以下注册项: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild,删掉以下东西 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\14.0 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\TOolsVersions\14.0 如果是64位的机器,还需要找到以下注册项: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\MSBuild 删掉以下东西 HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\MSBuild\14.0 HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\MSBuild\ToolsVersions\14.0 重新启动IDE,就恢复正常了。
相关文章推荐
- MSBUildToolsPath is not specified for the ToolsVersion
- RAD Studio 报MSBUildToolsPath is not specified for the ToolsVersion "14.0"的错误
- VS2008 :Msbuildtoolspath is not specified for the ToolsVersion
- [原创] Gradle DSL method not found: 'android()' 和 buildToolsVersion is not specified 的解决办法。
- win7中IIS7.0 调试出现错误 The IIS worker process for the launched URL is not currently running的解决办法
- java.lang.IllegalStateException: buildToolsVersion is not specified.解决办法
- VS2005 出现 The OutputPath property is not set for this project. 错误的解决方法
- 使用AlertDialog.Builder的时候出现错误:unable to add window --token null is not for an application的解决办法
- git 出现The current branch is not configured for pull No value for key branch.master.merge found in configuration错误的解决办法
- 解决安装vmware-tools出现的“The path "" is not a valid path to the 3.2.0-4-amd64 kernel headers”问题
- 解决安装vmware-tools出现的“The path "" is not a valid path to the 3.2.0-4-amd64 kernel headers”问题
- this class is not key value coding-compliant for the key digitPressed 解决办法
- 使用浏览器测试Web服务时出现提示“The test form is only available for requests from the local machine.”的解决办法
- 解决maven工程中出现The project was not built since its build path is incomplete. Cannot find the class file
- ubuntu 开机出现“ the disk drive for /media/XXXX is not ready yet or not present“解决
- this class is not key value coding-compliant for the key digitPressed 解决办法
- 编译错误“The run destination My Mac 64-bit is not valid for Running the scheme '***',解决办法
- ant 解决com.sun.tools.javac.Main is not on the classpath的问题
- 打开sln文件出现 “the selected file is not a valid visual studio solution file”错误提示解决办法
- webform报错:The HTTP verb POST used to access path * is not allow的解决办法