37
votes

I am currently using Visual Studio 2015 for programming ASP.NET Core applications. I have the following questions regarding installing Visual Studio 2017:

  • What is considered to be best practice and/or cleanest method?
  • Should I install Visual Studio 2017 beside Visual Studio 2015?
  • Should I first uninstall Visual Studio 2015 and all .NET Core dependencies and then install Visual Studio 2017?
  • Are there any tools that would ensure a clean uninstall of Visual Studio 2015?
8
I would try running them on the same box before uninstalling one.Rich

8 Answers

31
votes

From page Visual Studio 2017 Platform Targeting and Compatibility

Compatibility with Previous Releases Installation

You can install and use Visual Studio 2017 alongside previous versions of Visual Studio, including Visual Studio 2015, Visual Studio 2013, and Visua Studio 2012.

So yes. you can install them without any problem.

18
votes

VS 2013, VS 2015, and VS 2017 all work well side-by-side. VS 2012 can be a little dodgy on Windows 10, but should also work side-by-side. In theory VS 2010 should also work side-by-side with those, but I've run into quirks in the past with them interfering with one-another.

Projects should round-trip between 2015 and 2017 generally, although there are some one-way upgrade scenarios.

Note that if you really just need the older compiler toolset for some reason, you can also install VS 2017 and select the optional component Microsoft.VisualStudio.Component.VC.140 which installs the older v140 compiler which you can still use with the VS 2017 IDE. That said, there's not a lot of reason to do this since the VS 2015 & VS 2017 C++ standard libraries are binary compatible so you can mix them in a project.

See this blog post for information on VS 2017.

6
votes

It sounds like you have done some projects in 2015 already, so you will probably want to keep it.

Once you open a project in a new version, it will try to upgrade the project and then you can't go back.

However, if you have multiple versions installed at the same time, when you try to open a project, say, from Windows Explorer, it will open it with the "Visual Studio Version Checker" and will look at the project file and determine which version to open it in.

Bottom line, if you have the hard drive space, there is no reason to not install them alongside each other.

In the past, it was recommended to install them in sequential order if you are installing multiple versions, but it doesn't sound like this is an issue for you and I don't know if that is even a problem anymore as it has been several versions since I have had to deal with that.

Good luck!

5
votes

Personally, I would keep both - there have been multiple times through the years where you have compatibility issues and NEED to have the prior version(s). I've also had old project that will not upgrade and I've gone back and reinstalled old VS versions.

1
votes

If you have no reason to keep VS2015 in your computer I would suggest uninstalling it. I uninstalled VS2015 after installing VS2017 and later noticing that I was still using an old taskbar shortcut to VS2015. So I was inadvertently still using VS2015. Maybe some special cases require keeping older versions of VS along side the new version, but for the rest of us, I say, uninstall!

1
votes

VS 2015 is the last version that is supported by Installshield LE. If you have a need for building installers in the future, it will be useful to have VS 2015

1
votes

1,2,3. Visual Studio 2017 has more features over 2015 and it contains 2015's current features so you don't need 2015 alongside 2017. Just stick with 2017. And I don't think you will have any problems while opening 2013 and 2015 projects with Visual Studio 2017.

  1. Uninstall Tool is a good tool to use. It cleanses all the leftover files and registry entries after running the original uninstallation wizard and even tells you how many files will be cleaned after the required reboot.
0
votes

For people continuing to read this, I have Visual Studio Professional 2008 (For Windows Embedded 6.5), 2010, 2015, 2017 and they all work even if open at the same time.

Edit: As stated in other answers, they need to be installed from oldest version to newest.