How to convert Visual Studio 2015 solution (.sln) to Visual Studio 2017.
In the past, when a solution from a previous version was opened in the newer VS there was a wizard doing the conversion, but it seems it's not the case in with these versions.
Please find solution file (.SLN) file for your project and right click on it and open in notepad. At the top of the file change: After this, the .sln icon will change to visual studio 2017. In Visual Studio, on the File menu, click Open and then click Project/Solution, Web Site, or File, depending on the kind of project you are upgrading.
An update for an edition of Visual Studio 2017 is cumulative, so always choose to install the one with the most recent version number. Choose "Visual Studio Update" is available, which opens the Extensions and Updates dialog box. In the Extensions and Updates dialog box, choose the Update button.
Older Data Unit test projects are loaded in Visual Studio 2017 but use the GAC'd version of dependencies. To upgrade the unit test project to use the latest dependencies, right-click on the project in Solution Explorer and select Convert to SQL Server Unit Testing Project....
May 7 '17 at 22:36 1 Visual Studio 2012 and on use the same solution format, so there is no need to do any conversion. (Unless the projects themselves need to be converted.) – BJ Myers May 8 '17 at 0:01 @Steve: No problems so far. I was just wondering if I miss something with the solution not being upgraded or there is no need for upgrade at all.
Edit the .sln file with a text editor like notepad. Change the first 3 lines to
Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15
The first line is empty.
When you save the changes, the icon of the .sln file is changed and the solution will be opened by VS 2017 when double-clicked.
I cannot find Retarget Solution. What I did instead:
Actually I got the idea from here: Upgrade Visual Studio 2013 solutions to Visual Studio 2015
5. select last version sdk and click ok and done!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With