VS2017:提示“Error MSB8020 The build tools for v142 (Platform Toolset = 'v142') cannot be found. 。。。。”错误解决办法

从微软官网上下载的实例在VS2017下重新编译出现如下错误:

 

 解决方法如下:

  项目-->属性--->常规-->平台工具集--->选择 Visual Studio 2017 (v141)确定,就OK

posted @ 2022-03-29 10:48  信铁寒胜  阅读(1035)  评论(0编辑  收藏  举报