【问题标题】:What I need to install to compile for Platform Toolset v100 using Visual Studio 2013?使用 Visual Studio 2013 为 Platform Toolset v100 编译需要安装什么?
【发布时间】:2014-03-01 18:29:15
【问题描述】:

我刚刚格式化了 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

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

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

还有其他选择吗?

【问题讨论】:

标签: c++ visual-studio-2013


【解决方案1】:

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

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

【讨论】:

【解决方案2】:

还有安装 Windows SDK 7.1 的选项,其中包含相同的 VS2010 平台工具,并且免费提供。与 VS2010 Express 版本不同,它还包括 AMD64(但不是 Itanium)版本的工具。

【讨论】:

  • 是的,但这在 Windows 10 上不起作用,不受支持。
猜你喜欢
  • 2016-10-09
  • 1970-01-01
  • 2020-03-04
  • 2011-03-21
  • 1970-01-01
  • 2014-04-25
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多