How can I downgrade a C++ Visual Studio 2008 project to visual studio 2005?
Maybe there is a converter program that someone knows of or otherwise a process that I can undertake. Thanks.
How can I downgrade a C++ Visual Studio 2008 project to visual studio 2005?
Maybe there is a converter program that someone knows of or otherwise a process that I can undertake. Thanks.
I always hate to edit the .sln/proj files by hand, since they can be so picky and problematic. It might be easiest to just create a new project in 2005, and just copy all the code files back into it.
You will need change the
sln
andvcproj
files (including attributes likeToolsVersion
,TargetFramework
,ProductVersion
etc). Some freeware may be available but I haven't heard very highly of them.I have no idea how well it works, but here's an open source converter tool:
that was an extension to the tool outlined in this article:
You can use sed to do it, with the following script or something like it:
Put that in a text file called "downgrade_vc9_to_vc8.sed", then call it with:
Is your solution file in revision control system? Just see what modifications the upgrading to VS 2008 did to project and solution files and then undo them. There's not a lot of them.
You can delete .sln file, then open .vcproj in VS2005, then save it as new solution. Since all project options are held in .vcproj file, that should do.