How to convert visual studio 2010 SP1 solution into visual studio 2012 solution?

12,994

Solution 1

Open it in VS2012, then click File, Save As.

Solution 2

Simply open the solution file in a text editor and change the following two lines

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010

to

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012

Or, you can right click on the solution file, choose property, and change the program you want to use to open the file from Visual Studio Selector to Visual Studio 2012. It will open the solution in VS 2012 regardless the version of the file, which I kind of like.

enter image description here

Share:
12,994
TX_
Author by

TX_

Updated on July 04, 2022

Comments

  • TX_
    TX_ almost 2 years

    I know they (most project types) are inter-compatible between 2010 SP1 and 2012, and there is no necessity to do conversion, but what if I need it anyway? What if I need my solution to be labeled as Visual Studio 2012 solution? When double clicking the VS2010 solution, version selector automatically opens it with VS2010 (even though I have VS2012 installed now), also icon has a number 10 (instead of number 11) on it.

    How to do it??.