什么时候应该使用VS2015平台工具集V140_XP? [英] when should I use VS2015 platform toolset V140_XP?

查看:47
本文介绍了什么时候应该使用VS2015平台工具集V140_XP?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从 VS2010 切换到 VS2015,但我不清楚有关 V140_XP 的文档.我有两个问题:

I want to switch from VS2010 to VS2015 but the documentation about V140_XP is not clear to me. I have two questions about it:

  1. 我使用静态库(/MT).所以我不需要 vcruntime140.dll 或任何其他以前的运行时库.我是否应该将平台工具集设置为 V140_XP 以在 Windows XP 中运行我的应用程序?

  1. I use static library(/MT). so I don't need vcruntime140.dll or any other previous runtime library. Should I set platform toolset to V140_XP to run my application in windows XP or not?

如果我不将平台工具集设置为 XP,我的应用程序是否可以在 Windows 7 及更高版本上正常运行?

Will my application run OK on windows 7 and later if I don't set platform toolset to XP?

推荐答案

如果您的目标是 Windows XP 机器(在新应用程序中您不应该这样做),您只需要 v140_XP 工具集.

You only need the v140_XP toolset if you're targetting Windows XP machines (which in new applications you should not be doing).

v140 工具集支持所有更高版本的 Windows(Vista 及更高版本),但使用 v140 工具集构建的应用程序将无法在 XP 下运行.

All later versions of Windows (Vista and up) are supported by the v140 toolset, but applications built with the v140 toolset will not run under XP.

这篇关于什么时候应该使用VS2015平台工具集V140_XP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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