Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2012 doesn't convert vs2010 solution?

I opened my vs2010 solution with vs2012 but it didn't make any conversion as from 2008 to 2010 was happening. So my solution still remains the same as 10 label on it. when I make a new solution of course it has 11 label on it. I haven't got any problem running like that but I am curious. Is there any difference? if yes, how to convert into vs2012 solution?

like image 340
Emil Avatar asked Aug 23 '12 15:08

Emil


People also ask

How to convert Visual Studio 2010 project to 2012?

Solution 2 You can just open the old file with the newer version of the program. Open VS2012, click File -> Open Solution, and open the VS2010 solution. The version mismatch will be detected by VS2012 and any necessary conversion(s) done by the compiler. You can do this across multiple versions (ie.

Can I open Visual Studio 2015 project in 2022?

You can open the project in Visual Studio 2022, Visual Studio 2019, Visual Studio 2017, and Visual Studio 2015.

Can you open Visual Studio 2022 project in 2019?

You can install and use Visual Studio 2022 alongside previous versions of Visual Studio, including Visual Studio 2019, Visual Studio 2017, Visual Studio 2015, Visual Studio 2013, and Visual Studio 2012.

How to convert Visual Studio 2010 solution to Visual Studio 2012 solution?

how to convert visual studio 2010 solution to visual studio 2012? By deleting the old one,you expect us to answer this new non question? Please Sign up or sign in to vote. You can just open the old file with the newer version of the program. Open VS2012, click File -> Open Solution, and open the VS2010 solution.

How do I convert a vs 2010 file to vs 2012?

You can just open the old file with the newer version of the program. Open VS2012, click File -> Open Solution, and open the VS2010 solution. The version mismatch will be detected by VS2012 and any necessary conversion (s) done by the compiler.

Is it possible to edit the solution file in vs 2010?

Just to elaborate on Bhavin's excellent answer - editing the solution file works but you may still get the incompatible error (as David reported) if you had .NET 4.5 selected as the default .NET version in your VS2012 project and your VS2010 enviroment doesn't support that.

How to launch VS2012 instead of VS2010?

This way you just lie to the visual studio launcher so it will show an VS2012 icon for the sln file and it will launch VS2012 instead of VS2010. I guess VS2012 should still ask you about the conversion of each vcxproj.


2 Answers

I managed to 'convert' the solution file to change the line containing '# Visual Studio 2010' to '# Visual Studio 2012' in the .SLN file.

like image 156
RuudKok Avatar answered Sep 18 '22 21:09

RuudKok


Manual editing of the solution file is not necessary, or recommended. Simply open the VS2010 solution in VS2012, left-click the solution (at the very top of the Solution Explorer), then use File | Save As to overwrite the original file. This will effectively convert the VS2010 solution file to a VS2012 solution file.

like image 44
2Toad Avatar answered Sep 21 '22 21:09

2Toad