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

3
  • Have you tried opening your 2010 solution in 2012? It should upgrade automatically.
    – jrummell
    Sep 13, 2012 at 12:26
  • @jrummell: No; the icon wopn't change.
    – SLaks
    Sep 13, 2012 at 12:26
  • That's the key point - I'm opening it in 2012 but it still stays as 2010 solution. No conversion prompt, nothing...
    – TX_
    Sep 13, 2012 at 12:26

2 Answers 2

17

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

6
  • 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 and it worked. Dec 27, 2012 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 9, 2013 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, 2014 at 8:10
  • @v.oddou: Otherwise, it applies to the active document.
    – SLaks
    Mar 17, 2014 at 13:37
  • @SLaks: ehm... I'm befuddled now. Save all applies to active document you say ?
    – v.oddou
    Mar 18, 2014 at 0:13
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

Not the answer you're looking for? Browse other questions tagged or ask your own question.