Convert/downgrade visual studio 2015 solution file to 2013

21.3k Views Asked by At

How can I downgrade a Visual Studio 2015 solution file to the 2013 solution file that opens natively in Windows? Or, how can I get the Visual Studio Version selector to open the 2015 solution file after I would have uninstalled 2015 RC?

2

There are 2 best solutions below

3
On BEST ANSWER

Did you try this solution? Just try to change "Format Version" in first line of .sln file (Visual Studio 2012 has 12.00, so I assume 2013 is 13.00)

4
On

For C++ project the procedure is kind of similar:

Edit your .vcxproj file and change the ToolsVersion to 13.0 and all instances of <PlatformToolset>v140</PlatformToolset> to v120

<Project DefaultTargets="Build" ToolsVersion="13.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
...
<PlatformToolset>v120</PlatformToolset>

Edit: I found that you can change the platform toolset via the properties of the project (perhaps less prone to error)

Right click on your project and go to General -> Platform Toolset, change to Visual Studio 2013 (v120).