1

I have a web application which is built on VS2010. I am trying to upgrade it to 2013. I did open .sln file with VS2013. It open without error so i make few changes.

One thing i realize the icon of solution file still look VS2010. What i have to do so that .Sln file looks it is built on VS2013.

Thanks

sudip
  • 23
  • 1
  • 6

3 Answers3

1
  1. Right click and select "Open With" and then "Choose Default Program"
  2. Select the check box "Always use the selected program to open this kind of file"
  3. Click OK
Lali
  • 2,816
  • 4
  • 30
  • 47
1

You cannot set the icon displayed for an individual .sln file.

For all non .exe files, explorer displays the icon of the application associated with that file type (i.e. .sln extension).

Since explorer is currently showing your .sln files with a VS 2010 icon, then your machine is currently configured to associate .sln files with VS 2010.

If you change the default association of your .sln files to VS2013/VS2015/etc., then explorer will display the appropriate associated VS icon.

Rich Turner
  • 10,800
  • 1
  • 51
  • 68
  • Can you help me out how to chage the default association. – sudip Sep 03 '15 at 19:58
  • Right-click a .sln file. Hit 'Properties'. At the top of the properties dialog, you should see 'Change...' button next to "Opens With" label. Hit it: Now select the version of VS you want to open solutions by default. – Rich Turner Sep 03 '15 at 21:50
0

Find the Solution file (.SLN) file for your project and right click on it and open in notepad.

At the top of the file change: Microsoft Visual Studio Solution File, Format Version 12.00

Visual Studio 2010

To:

Microsoft Visual Studio Solution File, Format Version 12.00

Visual Studio 2013

Then the solution should open with VS2013.

More detailed info here: How to force a Solution file (SLN) to be opened in Visual Studio 2013?

Community
  • 1
  • 1