Sunday, December 2, 2018

How to Create a Visual Studio Community Offline Install

Following other Microsoft products, Visual Studio Community it’s all about downloading just what you need to use.
Although this is great for end users, not so good if you’re a sysadmin that need to create installation packages.

So, today for Microsoft Visual Studio Community, here’s what you’ll need to do:

  1. First of all download the setup wrapper here:
    https://visualstudio.microsoft.com/vs/express/

  2. And…now comes the tricky part. You can download only what you need to install, and it’s all based in “layouts”. The main command it’s this one:
    vs_Community.exe --lang en-us --layout f:\vs2017c –all


The above command will download ALL the “layouts”, but you may want do download only the necessary files to install for .NET development. So you should take a look at the link below to select just want you want to download/install:
https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-community?view=vs-2017#net-desktop-development

No comments:

Post a Comment