is there a simple way to make Visual Studio 2008 use 8.0 CRT libraries in my c++ project? I really do not want to install Visual Studio 2005 just to do this. Thanks
Asked
Active
Viewed 341 times
0
-
Ok, I also have 2010 installed, it looks like the "Target Framework" property can be extended to target CRT 8.0. Anyone know how? – Phil Oct 01 '10 at 19:28
-
is that for native code? Sounds suspiciously .Net-ty to me, ie. only for C++/CLI. – Steve Townsend Oct 01 '10 at 19:59
-
It will take you 10 times longer to figure out how to config VS9 to target, compile and DEBUG your code using VS8 redists than just installing VS8. – John Dibling Oct 01 '10 at 20:41
-
Phil, you can use Daffodil, found at http://daffodil.codeplex.com/ to target 2005 from VC2010 – Ted. Jul 30 '13 at 12:07
2 Answers
4
I really do not want to install Visual Studio 2005 just to do this
Well, that's going to be difficult, you won't have the CRT include files if you don't do this. You need them, especially to get the correct manifest. Another obstacle is that the directories to search is a global setting, Tools + Options. You'd have to carefully set the directories in the project settings so the 2005 directories always get searched first.
Installing 2005 takes half an hour, tops. Tough to beat as soon as you hit the first snag, which ought to be getting the manifest right.

Hans Passant
- 922,412
- 146
- 1,693
- 2,536
0
I would not recommend this, you are setting yourself up for a world of hurt (> the time taken to install VS2005 and reconstruct the project, imo).
Why do you need to do it?

Steve Townsend
- 53,498
- 9
- 91
- 140
-
I need to compile a dll using CRT 8.0, as compiling with 9.0 presents incompatibilities in an existing binary that interacts with it. – Phil Oct 01 '10 at 19:27