代码改变世界

VS2012 下编译可以在 XP 上运行的条件

2013-01-27 10:25  Scott Guthrie Liu  阅读(1013)  评论(0编辑  收藏  举报

http://blogs.msdn.com/b/vcblog/archive/2012/11/26/visual-studio-2012-update-1-now-available.aspx

Today, Soma announced the availability of the Visual Studio 2012 Update 1! You can install it either from the download page (see "Visual Studio 2012 Update 1" under the "Additional software" section).

As promised, you can now use the Visual C++ compiler and libraries to target Windows XP and Windows Server 2003. To target Windows XP:

  1. In Solution Explorer, open the shortcut menu for your project, and then choose Properties.
  2. In the Property Pages dialog box for the project, under Configuration PropertiesGeneral, set the Platform Toolset property to Visual Studio 2012 – Windows XP (v110_xp).

http://msdn.microsoft.com/en-us/library/hh409293.aspx

http://msdn.microsoft.com/en-us/library/jj851139.aspx