本人在使用VS2013编译VS2012的project遇到如下问题:
问题原句为:“1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets(64,5): error MSB8020: The build tools for Visual Studio 2012 (Platform Toolset = 'v110') cannot be found. To build using the v110 build tools, please install Visual Studio 2012 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...".”
VS2013的平台工具集为V120,VS2012的平台工具集为V110,此时需要修改平台的平台工具集。

在使用VS2013打开并编译VS2012的project时,遇到错误提示缺少Visual Studio 2012 (v110) 的构建工具。解决方法包括安装VS2012的构建工具或通过项目菜单升级解决方案。实际操作中,可通过‘视图’->‘属性管理器’,右键项目选择‘属性’,在‘配置属性’->‘常规’->‘平台工具集’中,将平台工具集更改为对应VS2013的V120。
最低0.47元/天 解锁文章
768

被折叠的 条评论
为什么被折叠?



