平台工具集v140和v140_xp有什么区别? [英] What's the difference between Platform Toolsets v140 and v140_xp?

查看:1438
本文介绍了平台工具集v140和v140_xp有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

_xp结尾的平台工具集与没有以这些结尾的平台工具集之间有什么区别. (例如,v140v140_xp)

What's the difference between the Platform Toolsets ending in _xp and those that don't. (For example, v140 vs v140_xp)

为什么没有以_vista_7结尾的工具集?当我使用v140工具集在Windows 7上编译程序时,它将在Windows XP/Vista上运行吗?

Why aren't there toolsets ending with _vista or _7? When I compile a program on Windows 7 with the v140 toolset, will it run on Windows XP/Vista?

推荐答案

从Visual Studio 2012开始,其默认工具集(v110)不再支持Windows XP.因此,您只能为Windows Vista和更高版本创建程序.

Starting with Visual Studio 2012 its default toolset (v110) didn't support Windows XP anymore. So you were only able to create programs for Windows Vista und newer.

由于用户有自己的客户(仍在使用Windows XP),因此Visual Studio开发人员收到了许多用户的抗议. 因此,Visual Studio开发人员在Visual Studio 2012 Update 4中引入了v110_xp,它也支持Windows XP.

The Visual Studio developers got many protest from the users, because the users have their own customers, which were still using Windows XP. So the Visual Studio developers introduced v110_xp in Visual Studio 2012 Update 4, which also supports Windows XP.

在所有更高版本的Visual Studio(2013年-> v120、2015年-> v140)中,他们都继续使用此方法,因此您拥有适用于Windows XP和更高版本(v120_xp和v140_xp)的额外工具集.

With all later Visual Studio versions (2013 -> v120, 2015 -> v140) they continued this approach, so you have an extra toolset for Windows XP and newer (v120_xp and v140_xp).

如果创建仅在Windows Vista或更高版本上使用的程序,则应使用默认工具集(不带_xp后缀).但是,如果您需要程序在Windows XP下运行,则需要使用带有_xp后缀的工具集.

If you create programs, which shall only be used on Windows Vista or newer, then you should use the default toolset (without the _xp suffix). But if you need your programs to run under Windows XP then you need to use the toolset with _xp suffix.

这篇关于平台工具集v140和v140_xp有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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