Whilst Microsoft offers older versions of Visual Studio for download via my.visualstudio.com, Microsoft do not offer a way to install a specific patch release. Having the latest of a minor is generally not enough, as new revisions/patch releases can break behaviors. Personally, I've lost days to weeks levels of productivity this year with Visual Studio for Windows after upgrading and then being stuck unable to re-install a specific, known working version.
This community maintained repository allows you to download and install a specific productSemanticVersion
of Visual Studio.
- Cherry pick a particular version and place in
C:\ProgramData\Microsoft\VisualStudio\Packages\_Instances
or as an administrator, after uninstalling all editions of visual studio for windows, clone this repository asC:\ProgramData\Microsoft\VisualStudio\Packages\_Instances
cd C:\ProgramData\Microsoft\VisualStudio\Packages
git clone https://github.com/ghuntley/visual-studio-for-windows-layouts _Instances
- Optional: Open the
state.json
file and adjust theinstallationPath
to a different drive or folder. - Launch the Visual Studio Installer.
- On the layout you wish to install, click retry and then click finish.
- Format the
state.json
with a JSON pretty printer. - Adjust
"installationPath":
to follow the convention"C:\\VisualStudio\\{Edition}\\{catalogInfo.productSemanticVersion}"
ie.C:\\VisualStudio\\Enterprise\\15.9.14+28307.770
- Adjust
"properties.nickname:"
to be"{catalogInfo.productSemanticVersion}"
ie.15.9.14+28307.770
- Rename the instance folder to be
"{Edition}-{catalogInfo.productSemanticVersion}"
ie.professional-15.9.14+28307.770
- Send in the pull-request
This approach is not officially supported my Microsoft. Any MSI/EXE shared components will still roll forward and older versions cannot be side-by-side installed. See https://twitter.com/mrhestew/status/1137072701867061248