我刚刚格式化了PC并安装了Visual Studio 2013。现在,我想编译一个Visual Studio 2010 C++解决方案而无需转换,并继续定位v100平台工具集。我需要使用Visual Studio 2013为Platform Toolset 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:\ Program Files文件(x86)\ MSBuild \ Microsoft.Cpp \ v4.0 \ V100'。我的机器一样。试图安装[适用于Microsoft .NET Framework 4.0.3的多目标套件(KB2600213)](https://www.microsoft.com/zh-CN/download/details.aspx?id=29052),但它没有帮助。仍然希望我可以避免安装VS 2010或不得不将应用程序迁移到新版本的框架。 – Palec