I am compiling a program with Visual C++ 2010 but I don't want everyone to have to download the redistributable package to run my programs. Most people that will be using my program already have the VC++ 2008 redistributable package though, so is there a way I can compile it with compatibility with VC 2008? Or is there a place I can download VC 2008 express?
+2
A:
Visual Studio 2010 has an option to compile with Visual Studio 2008 toolset. You can find it under your project settings. I think the option is just labeled 'Platform Toolset' in the general properties page.
dauphic
2010-08-08 17:04:05
When I set it to vc90, I get "MSB8010: Specified platform toolset (v90) requires Visual Studio 2008. Please make sure that Visual Studio 2008 is installed on the machine."
tfkl
2010-08-08 17:09:15
And you have vs2008 installed ?
nos
2010-08-08 17:17:51
No, if I did I would just compile it with VS2008. The problem is that I don't have it and I can't find anywhere to download it.
tfkl
2010-08-08 17:19:07
Try here http://www.microsoft.com/express/downloads/#2008-Visual-CPP in 'Visual Studio 2008 Express" tab. You can also download Microsoft SDK 7.0 - it contains VC 2008 compiler (in SDK 7.1 VC was replaced with 2010 version).
Zuljin
2010-08-08 17:23:50
Wow, downvoting microsoft for obscure links. Thanks Zuljin, that's the download. If you want to put that in a separate answer I'll mark it as such.
tfkl
2010-08-08 17:26:58
@tfkl: that is the first readable link I've seen from Microsoft for years. And you're calling it obscure? Perhaps you prefer links like this? http://msdn.microsoft.com/en-us/library/ms632679%28VS.85%29.aspx
jalf
2010-08-08 18:00:37