Which XP version does Visual Studio 2012 supports

2020-04-20 18:49发布

Which version of windows XP does Visual Studio 2012 supports. [Edit: Which version does VS12 supports compiling to]

I found this article: http://blogs.msdn.com/b/vcblog/archive/2012/10/08/windows-xp-targeting-with-c-in-visual-studio-2012.aspx

That states that it supports XP SP3. But I didn't find any information for VS12 update 4.

Also, If the code I compile using VS12 doesn't crush on XP SP2 and seems to work. Is it safe to use it? why not?

Thanks

1条回答
再贱就再见
2楼-- · 2020-04-20 19:41

It's correct, Visual Studio 2012 can compile binaries compatible with Windows XP SP3.

You need to install the Platform Toolset v110_xp and select it in the general configuration properties of your project.

If "safe" means that it works the answere is yes. We have 12.000 installations of our software compiled with Visual Studio 2012 (and recently Visual Studio 2013) perfectly working on Windows XP SP3.

The only big problem is run time debugging: you can't install Visual Studio 2012 on Windows XP so it could be a problem to find bugs that accidentally happens only on Windows XP.

查看更多
登录 后发表回答