Supporting Multiple Versions of Visual Studio
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
The term side-by-side means that you can install and maintain multiple versions of a product on the same computer. For VSPackages, that means a user can have several Visual Studio versions installed on the same computer. However, you cannot have side-by-side versions of your VSPackages loaded into a single version of Visual Studio.
Before you make your VSPackage able to be loaded into side-by-side versions of Visual Studio, consider the following:
You must determine which side-by-side implementation strategy you want to follow.
For more information, see Choosing Between Shared and Versioned VSPackages.
Your solution and project file formats must fit your implementation strategy.
For more information, see Upgrading Custom Projects and Registering File Name Extensions for Side-By-Side Deployments.
Your installer must handle your implementation strategy so that versioned components, and also components shared across all versions, are correctly installed and registered.
For more information, see Installing VSPackages With Windows Installer and also Component Management.
Note
Installing a version of Visual Studio also installs a corresponding version of the .NET Framework. For example, installing Visual Studio 2010 and Visual Studio 2012 on the same computer also installs versions 4.0 and 4.5 of the .NET Framework, respectively.
In This Section
Choosing Between Shared and Versioned VSPackages Explains how to resolve side-by-side issues in your VSPackage.
Registering File Name Extensions for Side-By-Side Deployments Describes how your VSPackage can register file associations in a side-by-side scenario.