在 VS2013 中使用 VS2008 (v90) C++ 工具集? [英] Use VS2008 (v90) C++ toolset in VS2013?

查看:57
本文介绍了在 VS2013 中使用 VS2008 (v90) C++ 工具集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

MS 文档 解释了如何使用 2010 或 2012 工具集在 VS2013 中.

MS documentation explains how to use 2010 or 2012 toolsets in VS2013.

有谁知道是否还有对 2008 工具集的向后支持?我正在从 2008 年到 2013 年升级几个项目,但我的团队负责人希望我们最初升级项目文件,但仍针对与 2008 年相同的编译器/运行时.

Does anyone know if there is also backwards support for the 2008 toolset? I am upgrading several projects from 2008 to 2013 but my team lead would like us to upgrade the project files initially but still target the same compiler/runtime as 2008.

这可能吗?

推荐答案

VS2008 安装本身没有正确设置工具集目录/注册表.这可以防止更高版本的 VS 定位 v90 工具.

The VS2008 install on its own doesn't properly setup the toolset directory/registry. This prevents later version of VS from locating the v90 tools.

如果您安装了 VS2010 C++ 编译器工具集,它也会包含 v90 工具集.完成此操作后,我可以使用 VS2008 工具集在 VS2013 中进行构建.这可以通过安装 VS2010 本身或安装包含 2010 工具集(v90 和 v100)的 Windows 7.1 SDK 来完成.

If you install the VS2010 C++ compiler toolset it will include the v90 toolset as well. After doing this I am able to build in VS2013 with the VS2008 toolset. This can be done by installing VS2010 itself or installing the Windows 7.1 SDK which includes the 2010 toolsets (v90 and v100).

参考:MSDN

这篇关于在 VS2013 中使用 VS2008 (v90) C++ 工具集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆