Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upgrade Visual Studio 2013 solutions to Visual Studio 2015

I have installed both Visual Studio 2013 and Visual Studio 2015. Projects and solutions that were created in VS2013 are opened by VS2013 as I would expect, but I would like to be able to upgrade those files so that they would be opened by VS2015 when double clicked.

How can I upgrade solution files that are in VS2013 format so that the Microsoft Visual Studio Version Selector will open them in VS2015?

like image 930
Ben Pschierl Avatar asked Jul 23 '15 14:07

Ben Pschierl


People also ask

How do I update Visual Studio solutions?

To upgrade a project created in an earlier version of Visual Studio, just open the project in the latest version of Visual Studio. Visual Studio offers to upgrade the project to the current schema. If you choose No, the project doesn't get upgraded.

Is Visual Studio 2013 still supported?

x will continue to be supported until January 2020. For Visual Studio 2015 and Team Foundation Server 2015, RTW is no longer supported. For Visual Studio 2013 and Team Foundation Server 2013, RTW is no longer supported.

Is Visual Studio Express 2015 Free?

Visual Web Developer Express is a freeware web development tool that allows developers to evaluate the web development and editing capabilities of the other Visual Studio editions at no charge.


2 Answers

The simplest solution IMO (also worked for 2012 and 2013) is:

  1. Open the solution file using Visual Studio 2015
  2. Select the solution file in Solution Explorer
  3. Select File / Save MySolution.sln As...
  4. Overwrite the existing solution file.
like image 58
Matthias Loerke Avatar answered Sep 25 '22 06:09

Matthias Loerke


Change the version in the .sln file

# Visual Studio 2013 VisualStudioVersion = 12.0.31101.0 

To match whatever version you have

As of this morning my VS Enterprise is 14.0.23107.0

Example:

# Visual Studio 2015 VisualStudioVersion = 14.0.23107.0 

Visual Studio 2015 Update 3 is 14.0.25420.1

like image 26
Zach Leighton Avatar answered Sep 24 '22 06:09

Zach Leighton