Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, Is there a way to downgrade my vs2010 project to vs2008?
Posted

Yes this can be done easily.
Open your Visual Studio 2010 .sln file manually in a notepad.

Usually the first line of this file will be

Quote:
Microsoft Visual Studio Solution File, Format Version 11.00


Change the above text to what is there below and save it.

Quote:
Microsoft Visual Studio Solution File, Format Version 10.00


Basically you are enabling the Visual Studio Program to know the version through the .sln. After this Visual Studio 2008 should be able to open a Visual Studio 2010 project peacefully. I did this recently in a laptop where I had only Visual Studio 2008, but some of the projects were of the version Visual Studio 2010.

EDIT: If the above solution does not work, I guess you will have to go the hard way (but probably the simplest of all ways) -
- Either create a fresh blank VS 2008 solution and reimport all your VS 2010 projects (.vbproj files) to it.
- Another way worth a try is to remove only the InstallShield related project (.isproj and any other related files), and have them newly created for your VS 2008 project environment.
 
Share this answer
 
v4
Comments
Alan Tuscano 19-Jan-12 20:50pm    
Hi, I just did renaming the abovementioned and save the .sln file. double clicked on the project to open it but this error appeared,

'C:\DevProj\SetUpDevProj\SetUpDevProj.isproj' cannot be opened because its project type (.isproj) is not supported by this version of the application.

DevProj is running on other PC.

Also, would downgrading VS2010 to VS2008 affect my crystal reports?
Abey Thomas 19-Jan-12 21:01pm    
I am sorry I never heard of an .isproj. Some research showed it is an InstallShield related file. The solution worked for me as I was having .vdproj as the installation related file and it was backward compatible. I guess you will have to go the hard way -
- Either create a fresh VS 2008 solution and reimport all your VS 2010 projects to it.
- Another way worth a try is to remove only the InstallShield related project (.isproj and any other related files), and have them newly created for your VS 2008 project environment.
Sergey Alexandrovich Kryukov 19-Jan-12 21:04pm    
Sorry, Abey, this is not the solution. You downgrade the solution, which is easy, but you need to downgrade the projects, and this is way more difficult. There were some projects on CodeProject to do that...

What you suggested won't help at all; I did not vote...
--SA
Abey Thomas 19-Jan-12 21:08pm    
I did put this here because, it did work for me when I tried it recently. All I did was the .sln change and it did open up even the projects for me peacefully. I guess for a large application there might be more settings which has to be changed.
Sergey Alexandrovich Kryukov 19-Jan-12 21:12pm    
I don't understand how. Did you really downgrade, not upgrade (upgrade is provided by Visual Studio anyway)? Are you sure it wasn't an empty solution? :-)
I did it, too; without the utility, it was quite difficult. How can you explain it. Differences in projects of different versions are non-trivial...
--SA

--SA
This CodeProject article offers the automated solution for this problem: SolutionConverter[^].

[EDIT]

A bonus advice: take a look at any of my CodeProject articles. I always provided source code built to a range of platform versions + Mono. The trick is to provide different builds sharing the same source code. I think my approach is interesting.

Downgrade is especially important for publications like that.

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900