项目场景:
使用Visual Studio过程中出现版本不一致报错
问题描述:error MSB8020
在执行过程中遇到的问题:
错误
error MSB8020: The build tools for Visual Studio 2012 (v120) (Platform Toolset = ‘Visual Studio 2012 (v120)’) cannot be found. To build using the Visual Studio 2012 (v120) build tools, please install Visual Studio 2012 (v120) 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…”.
原因分析:
使用 Microsoft Visual Studio版本原因不一致
解决方案:
找到解决方案管理器,右键点击选择属性
配置属性—>常规—>平台工具集—>选择当前Visual Studio的版本
总结
一步一个脚印,lyy加油!