7

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??.

TX_
  • 5,056
  • 3
  • 28
  • 40

2 Answers2

17

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

SLaks
  • 868,454
  • 176
  • 1,908
  • 1,964
  • 1
    FYI, this doesn't work for me. There is no Save As displayed under the File menu for me. However, I instead followed the advice [here](http://stackoverflow.com/a/12406912/5380) and it worked. – Kent Boogaart Dec 27 '12 at 17:04
  • 1
    @KentBoogaart This works for me if I first left-click the solution (at the very top of the Solution Explorer) before I do the "Save As" – aaaa bbbb Sep 09 '13 at 20:27
  • @TX_: because its completely un-natural ? I mean seriously, I tried `save all` function and it didn't do the same as `save as`, so wt* micrsoft ? – v.oddou Mar 17 '14 at 08:10
  • @v.oddou: Otherwise, it applies to the active document. – SLaks Mar 17 '14 at 13:37
  • @SLaks: ehm... I'm befuddled now. Save all applies to active document you say ? – v.oddou Mar 18 '14 at 00:13
  • @v.oddou: I'm talking about Save As. What are you asking? – SLaks Mar 18 '14 at 00:26
4

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

Andrew Chaa
  • 6,120
  • 2
  • 45
  • 33