C++ 我需要安装什么才能使用 Visual Studio 2013 编译 Platform Toolset v100?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/21575323/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What I need to install to compile for Platform Toolset v100 using Visual Studio 2013?
提问by Drake
I've just formatted the PC and have Visual Studio 2013 installed. Now, I would like to compile a Visual Studio 2010 C++ solution without convert it and continue targeting v100 platform toolset.
我刚刚格式化了 PC 并安装了 Visual Studio 2013。现在,我想编译一个 Visual Studio 2010 C++ 解决方案而不转换它并继续以 v100 平台工具集为目标。
I get the this error:
我收到此错误:
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
and project properties I see that of course I miss the needed toolset.
和项目属性我看到,当然我错过了所需的工具集。
I can't change the target because cannot force XP users to install the new C++ 2013 re-distributable so probably I should install Visual Studio 2010 to fix the problem, but if possible I would like to avoid it (small SSD at the moment and not much free space).
我无法更改目标,因为无法强制 XP 用户安装新的 C++ 2013 可重新分发,所以我可能应该安装 Visual Studio 2010 来解决这个问题,但如果可能的话,我想避免它(目前的小型 SSD 和没有多少可用空间)。
Are there other options available?
还有其他选择吗?
采纳答案by galop1n
You will need to install the Visual Studio 2010 for that. There is no alternative.
为此,您需要安装 Visual Studio 2010。没有替代。
You still can install to a different drive, to keep memory footprint on C: as low as possible.
您仍然可以安装到不同的驱动器,以尽可能减少 C: 上的内存占用。
回答by Don Joe
There's also the option of installing the Windows SDK 7.1, which comes with the same VS2010 Platform Tools in it and is available for free. Unlike the VS2010 Express edition, it also includes the AMD64 (but not the Itanium) version of the tools.
还可以选择安装 Windows SDK 7.1,它带有相同的 VS2010 平台工具,并且是免费的。与 VS2010 Express 版本不同,它还包括 AMD64(但不是 Itanium)版本的工具。