VS2013 ERROR MSB8020

 error MSB8020: The build tools for Visual Studio 2013 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, please install Visual Studio 2013 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 "Upgrade Solution...".

当出现以上错误时,说明这时你使用的VS版本和项目属性配置里面的工具集是不匹配的,这时应该按照以下操作修改:右击项目 --> 属性 --> 配置属性 --> 常规 --> 平台工具集.改成对应的VS版本工具集即可。如果出现多个这样的错误,检查对应的各个项目的平台工具集,改之,重新编译即可。

发上等愿,结中等缘,享下等福;择高处立,就平处坐,向宽处行。
原文地址:https://www.cnblogs.com/lyx5990/p/7522773.html