简体   繁体   中英

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?

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.

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM