Xantham
Xantham

Reputation: 1899

Visual Studio 2010 cannot open a 2010 solution that Visual Studio 2012 modified

Basically, I had a project that was written with Visual Studio 2010 Express in C#, I then tried out using Visual Studio 2012 Express with that file, and now VS2010 says:

"The selected file is a solution file, but was created by a newer version of this application and cannot be opened."

Now when I had looked up about this, Microsoft said that you can still use 2010 if you do not use anything that was VS2012 specific. Well, I had tried out the built in Testing that is in the VS2012, and that was the only thing that was VS2012 specific, but deleting that from my project (the Testing project), still left it saying that it was created by a newer version.

So, how do you make a VS2010 solution that VS2012 modified work with VS2010 again?

Upvotes: 10

Views: 12131

Answers (5)

batsheva
batsheva

Reputation: 2295

very old...but hope it can help someone...

Step 1: Go to your project location where the project's sln file is kept and then Right-click on it, choose "Properties". Uncheck "Read Only" as like given below:

Step 2: Again Go to the location where the project's sln file is kept and then Right-click on it to open it with notepad and change the "Microsoft Visual Studio Solution File, Format Version 12.00" to "Microsoft Visual Studio Solution File, Format Version 11.00" on the file.

you can change also the "Visual Studio 2012" to 2010

Upvotes: 0

Sameer Alibhai
Sameer Alibhai

Reputation: 3178

The response here by Andrew.Wu is very comprehensive http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/fc763995-beed-4287-97de-6e47d3e87865 and details steps to take to solve the problem

Upvotes: 0

aquinas
aquinas

Reputation: 23786

SP1 for VS 2010 is required to open VS 2012 modified solutions.

Upvotes: 12

Void Star
Void Star

Reputation: 2521

This probably isn't the kind of answer you are looking for, but it has worked for me in the past for compatibility issues and such, so it's worth mentioning. If your project isn't too complicated, you can create a new project then copy and paste everything across, starting with form controls, and then moving to the code. It's a sloppy solution that doesn't scale well, but sometimes nothing else seems to work.

Upvotes: 0

Nate-Wilkins
Nate-Wilkins

Reputation: 5492

Try this out:

http://vsprojectconverter.codeplex.com/

Personally I've never used it but I have it marked as a tool to use if I run into issues. Hope it helps!

Upvotes: 4

Related Questions