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

shuiyixin發表於2018-06-15

【問題內容】

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

相關文章