Run the command to create the layout. Choose the workloads you need to minimize size. Basic Offline Layout (Minimal) vs_community.exe --layout c:\vs2019layout Use code with caution.
Creating an offline layout is not a single-click process. You need to prepare your environment.
To recap the workflow:
Temporarily exclude the layout folder or use Group Policy to allow vs_setup.exe and vs_installer.exe .
Here is a PowerShell script that automates the process of creating an offline installer: visual studio 2019 offline installer
First, visit the official Visual Studio Older Downloads page. You'll need a free Microsoft account. Then, download the bootstrap installer for your chosen edition:
After executing the command, a new command window will open. The Visual Studio Installer setup engine will calculate the total file sizes and begin downloading the component payloads into the designated directory (e.g., C:\VS2019Offline ). Run the command to create the layout
Download the bootstrapper file. The filename will resemble one of the following: vs_community.exe vs_professional.exe vs_enterprise.exe Step 2: Use the Command Prompt to Create Your Layout
vs_community.exe (Free for individuals and students) Professional: vs_professional.exe Enterprise: vs_enterprise.exe 2. Run the Layout Command Creating an offline layout is not a single-click process