Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# "Backward" Convert Visual Studio 2010 .csproj project to 2008? [duplicate]

Possible Duplicate:
how to convert a VS 2010 soultion back to 2008

I have a .NET 3.5 project in VS 2010. Is there a way to convert the VS 2010 .csproj file format to a VS 2008 .csproj file format without making a new project using VS 2008 and re-adding everything? A tool or utility? Visual Studio, as far as I know, only provides an upgrade path.

I'm distributing the app source to users of VS 2008.

like image 454
John K Avatar asked Oct 12 '22 10:10

John K


1 Answers

The project files are exactly the same between 2008 and 2010 (excluding the new types added in 2010). Only the solution file varies, so you can create a solution file in 2008 and "Add Existing Project"

However if you're targetting .NET 4.0 then you're going to have problems, as thinks change in the project file. http://www.emmet-gray.com/Articles/ProjectConverter.htm has the details of those changes, and more importantly, a program to do it all for you.

like image 96
blowdart Avatar answered Oct 14 '22 05:10

blowdart