成功解决MSB8020 The build tools for v141 (Platform Toolset = ‘v141‘) cannot be found. To build using the

成功解决MSB8020 The build tools for v141 (Platform Toolset = 'v141') cannot be found. To build using the工具

 

 

目录ui

解决问题spa

解决思路orm

解决方法blog


 

 

 

解决问题

MSB8020 The build tools for v141 (Platform Toolset = 'v141') cannot be found. To build using the v141 build tools, please install v141 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution".    ChineseSimplified    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets    57    get

 

 

解决思路

MSB8020找不到v141(平台工具集=“v141”)的生成工具。要使用v141构建工具进行构建,请安装v141构建工具。或者,您能够经过选择“项目”菜单或右键单击解决方案,而后选择“重定目标解决方案”,升级到当前的Visual Studio工具\微软.Cpp\v4.0\V140版本\Microsoft.Cpp.平台目标57io

 

 

 

解决方法

        出现这个问题,可知,你想要构建的项目来自VS2017,其C ++ ToolSet是V141。固然,咱们也能够选择在VS2019中安装ToolSet V141。在VS2019中,去工具=>获取工具和功能=>安装VS2017的C ++构建工具。
注意:VS 2015平台工具集为v140,VS 2017平台工具集为v141,VS2019平台工具集为V142。
构建工具

      找不到 <platform>(平台工具集 =“<version>”)的生成工具。 若要使用 <version> 生成工具进行生成,请安装 <platform> 生成工具。 或者,能够经过选择“项目”菜单或右键单击解决方案升级到当前 Visual Studio 工具,而后选择“重定解决方案目标”。form

相关文章
相关标签/搜索