I have a VS project (made by someone else), and when I try to open it on Visual Studio 2008, I get the following error message:
"The selected file is a solution file, but was created by a newer version of this application and cannot be opened"
I would have thought VS was backwards compatible. Is there any way I can open this?
Open Visual Studio, and on the start window, select Create a new project. On the Create a new project page, type blank solution into the search box, select the Blank Solution template, and then select Next.
You have to go to Tools > Options > Project and Solutions > General , where you can see “Always Shows Solution” is Unchecked. Once you checked “Always Shows Solution” , you will able to view the Solution file with in solution explorer. Note : By default “Always Shows Solution” is Checked.
Open Visual Studio 2019 version 16.8 or later. On the start window, select Open a project or solution. Visual Studio opens an instance of File Explorer, where you can browse to your solution or project, and then select it to open it.
VS is backwards compatible, yes - you can open a VS 2005 solution file in VS 2008, for example. It's not forward compatible though - presumably that solution has been created by someone with VS 2010. EDIT: According to comments, with VS2010 SP1, you can open VS2012 solutions. I haven't verified this myself.
Fortunately, although the solution files aren't compatible, I believe you should be able to create a new solution in VS 2008 and add the existing project files created with 2010, so long as they haven't used any VS2010-specific features (either in the project structure or in the code itself). If the code targets .NET 4, you may need to adjust the project file to retarget it to .NET 3.5, too.
You may well see a warning about this (an unknown tools version, or something like that) - but it may very well work. I have a number of projects which have separate solution files for VS2008 and VS2010, but which use the same project files.
Solution:
Step 1: Go to your project location where the project's . sln file is kept and then Right click on it, choose "Properties". Un check "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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With