user465196
user465196

Reputation: 21

opening visual studio 2010 solution files in visual studio 2008

How would you open a Visual Studio 2010 .sln file in Visual Studio 2008?

Is it possible? Are there any workarounds?

Upvotes: 2

Views: 22907

Answers (3)

Vinner
Vinner

Reputation: 1231

Open the solution file (.sln) with notepad and change Microsoft Visual Studio Solution File, Format Version 11.00

Visual Studio 2010

to Microsoft Visual Studio Solution File, Format Version 10.00

Visual Studio 2008

Then open the solution file from visual studio 2008

Upvotes: 1

M4N
M4N

Reputation: 96541

Have a look at these questions for information about how to convert the solution file between VS2008 and VS2010:

But keep in mind, that once you have used some of the .NET 4 features (while in VS 2010), you will not be able to continue working with that solution in VS2008, since it does not support .NET 4. On the other hand, when using VS2010, you can still target .NET 3.5 or 2.0.

Upvotes: 4

Jonathan
Jonathan

Reputation: 12025

I think I need more information... but I will try it.

One option is to create a new project in VS 2008 and simply add the files to the project.

Other option is to edit the .sln file and replace* Microsoft Visual Studio Solution File, Format Version 11.00.* with Microsoft Visual Studio Solution File, Format Version 10.00.

The open the .csproj file and replace with

Upvotes: 1

Related Questions