Install Visual Studio versions side-by-side
Applies to: Visual Studio Visual Studio for Mac
Note
This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
You can install Visual Studio on a computer that has an earlier or later version of Visual Studio already installed.
Before you install versions side-by-side, review the following conditions:
If you use Visual Studio 2017 to open a solution that was created in Visual Studio 2015, you can later open and modify the solution again in the earlier version as long as you haven't implemented any features that are specific to Visual Studio 2017.
If you try to use Visual Studio 2017 to open a solution that was created in Visual Studio 2015 or an earlier version, you might need to modify your projects and files to be compatible with Visual Studio 2017. For more information, see the Port, migrate, and upgrade Visual Studio Projects page.
If you uninstall a version of Visual Studio on a computer that has more than one version installed, the file associations for Visual Studio are removed for all versions.
Visual Studio doesn't automatically upgrade extensions because not all extensions are compatible. You must reinstall the extensions from the Visual Studio Marketplace or the software publisher.
Install minor Visual Studio versions side-by-side
When upgrading from one minor version of Visual Studio to the next, the Visual Studio installer will, by default, update your current install to the latest version in that channel. For example, suppose 16.9.4 was just released. The installer will try to replace your current install of 16.9.3 (or lower) with 16.9.4, since both versions are part of the Visual Studio 2019 release channel. Replacing the older release with the newer release during update helps ensure older versions of Visual Studio aren't taking up room on your machine. However, in some specific cases, it might be helpful to install different minor release versions of Visual Studio side-by-side. For example, you may want to have both 16.9.3 and 16.9.4 on the same machine.
Download the latest bootstrapper for Visual Studio 2017 version 15.9 from the Visual Studio previous versions page for the version that you would like to install side-by-side with your existing version of Visual Studio.
Open the command prompt in administrator mode. To do this, open the Windows Start menu, type "cmd", right-click on the Command Prompt search result, and select Run as administrator. In the command prompt, change the directory to the folder where your Visual Studio bootstrapper file is located.
Run the following command, specifying a new folder path for the installation location and replacing the .exe file name with the appropriate bootstrapper name for the version of Visual Studio you are installing. The .exe file name should match or be similar to one of the following files:
- vs_enterprise.exe for Visual Studio Enterprise
- vs_professional.exe for Visual Studio Professional
Follow the installer dialogs to select the components you need for your installation. For more information, see Install Visual Studio.
.NET Framework versions and side-by-side installations
Visual Basic, Visual C#, and Visual F# projects use the Target Framework option in the Project Designer to specify which version of the .NET Framework that a project uses. For a C++ project, you can manually change the target framework by modifying the .vcxproj file. For more information, see the Version compatibility in the .NET Framework page.
When you create a project, you can specify which version of the .NET Framework the project targets in the .NET Framework list in the New Project dialog box.
For language-specific information, see the appropriate topic in the following table.
Language | Topic |
---|---|
Visual Basic | Application Page, Project Designer (Visual Basic) |
Visual C# | Application Page, Project Designer (C#) |
Visual F# | Develop with Visual F# in Visual Studio |
C++ | How to: Modify the target framework and platform toolset |
Support or troubleshooting
Sometimes, things can go wrong. If your Visual Studio installation fails, see Troubleshoot Visual Studio installation and upgrade issues for step-by-step guidance.
Here are a few more support options:
- We also offer an installation chat (English only) support option for installation-related issues.
- Report product issues to us via the Report a Problem tool that appears both in the Visual Studio Installer and in the Visual Studio IDE. If you're an IT Administrator and don't have Visual Studio installed, you can submit IT Admin feedback here.
- Suggest a feature, track product issues, and find answers in the Visual Studio Developer Community.