Git Product home page Git Product logo

visual-studio-for-windows-layouts's Introduction

side by side installation of visual studio for windows

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.

usage

  • 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 as C:\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 the installationPath to a different drive or folder.
  • Launch the Visual Studio Installer.
  • On the layout you wish to install, click retry and then click finish.

contributing

  1. Format the state.json with a JSON pretty printer.
  2. Adjust "installationPath": to follow the convention "C:\\VisualStudio\\{Edition}\\{catalogInfo.productSemanticVersion}" ie. C:\\VisualStudio\\Enterprise\\15.9.14+28307.770
  3. Adjust "properties.nickname:" to be "{catalogInfo.productSemanticVersion}" ie. 15.9.14+28307.770
  4. Rename the instance folder to be "{Edition}-{catalogInfo.productSemanticVersion}" ie. professional-15.9.14+28307.770
  5. Send in the pull-request

disclaimer

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.