gpt4 book ai didi

c++ - 使用 Visual Studio 2013 为 Platform Toolset v100 编译需要安装什么?

转载 作者:IT老高 更新时间:2023-10-28 12:46:04 27 4
gpt4 key购买 nike

我刚刚格式化了 PC 并安装了 Visual Studio 2013。现在,我想编译一个 Visual Studio 2010 C++ 解决方案而不进行转换,并继续针对 v100 平台工具集。

我得到这个错误:

error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 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...".  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets   64  5   TPC30004

我看到项目属性当然错过了所需的工具集。

Project properties with Platform Toolset set to Visual Studio 2010 (v100) (not installed)

我无法更改目标,因为无法强制 XP 用户安装新的 C++ 2013 可重新分发,所以我可能应该安装 Visual Studio 2010 来解决问题,但如果可能的话我想避免它(小型 SSD 在当下,没有太多可用空间)。

还有其他选择吗?

最佳答案

您需要为此安装 Visual Studio 2010。没有其他选择。

您仍然可以安装到其他驱动器,以尽可能降低 C: 上的内存占用。

关于c++ - 使用 Visual Studio 2013 为 Platform Toolset v100 编译需要安装什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21575323/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com