C++报错:The build tools for v141 (Platform Toolset = 'v141') cannot be found.

谁践踏了优雅 2021-06-24 15:59 681阅读 0赞

【问题内容】

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”.

【问题分析】

Visual Studio 2015 编辑错误,是缺少了v141组件

【解决方法】

项目—>属性—->常规—>平台工具集—->选择 Visual Studio 2015 (v140),或者Visual Studio 2015 - Windows XP (v140_xp)确定,就OK

发表评论

表情:
评论列表 (有 0 条评论,681人围观)

还没有评论,来说两句吧...

相关阅读