简体   繁体   English

如何将Visual Studio 2005的平台工具集添加到较新IDE版本的“Platform Toolset”列表中?

[英]How can I add the platform toolset of Visual Studio 2005 into the `Platform Toolset` list of the newer IDE versions?

I have installed Visual Studio 2005-2015. 我已经安装了Visual Studio 2005-2015。 I am to use the platform toolset of Visual Studio 2005, but this variant is absent in the list: 我将使用Visual Studio 2005的平台工具集,但列表中不存在此变体:

在此输入图像描述

How can I add the platform toolset of Visual Studio 2005 into the Platform Toolset list of the newer IDE versions? 如何将Visual Studio 2005的平台工具集添加到较新IDE版本的Platform Toolset列表中?

  • v100 is MS VC 2010 toolset v100MS VC 2010工具集
  • v90 is MS VC 2008 toolset v90MS VC 2008工具集
  • v80 is MS VC 2005 toolset, this is what you are looking for. v80MS VC 2005工具集,这就是你要找的。

Follow the procedure below and setup MS VC 2005 Platform Toolset . 按照以下步骤设置MS VC 2005 Platform Toolset

  • Create v80 folder in C:\\Program Files\\MSBuild\\Microsoft.Cpp\\v4.0\\Platforms\\Win32\\PlatformToolsets C:\\Program Files\\MSBuild\\Microsoft.Cpp\\v4.0\\Platforms\\Win32\\PlatformToolsets创建v80文件夹

  • Copy Microsoft.Cpp.Win32.v100.props & Microsoft.Cpp.Win32.v100.targets files from 从以下位置复制Microsoft.Cpp.Win32.v100.propsMicrosoft.Cpp.Win32.v100.targets文件

C:\\Program Files (x86)\\MSBuild\\Microsoft.Cpp\\v4.0\\Platforms\\Win32\\PlatformToolsets\\v100

to

C:\\Program Files\\MSBuild\\Microsoft.Cpp\\v4.0\\Platforms\\Win32\\PlatformToolsets\\v80

  • Rename copied files to Microsoft.Cpp.Win32.v80.props & Microsoft.Cpp.Win32.v80.targets 将复制的文件重命名为Microsoft.Cpp.Win32.v80.propsMicrosoft.Cpp.Win32.v80.targets

  • Edit the files, point to VisualStudio\\8.0 , change 110 to 80 or 8.0 as appropriate 编辑文件,指向VisualStudio\\8.0 ,根据需要将110更改为808.0

  • Edit the project settings, Change platform tool set to v80 编辑项目设置,将平台工具更改为v80

Rebuild the project, That's all! 重建项目,就是这样!

您可以通过安装来自https://daffodil.codeplex.com/downloads/get/347180的水仙花软件解决所有版本的此问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM