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

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

 解决方法如下:

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

 

posted @ 2020-02-11 18:16  小牛铺  阅读(12911)  评论(0编辑  收藏  举报