vs_community.exe --layout "D:\VS2022_Offline" --lang en-US --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --includeRecommended
Free for individual developers, learning, and small teams.
: Run the following command from the layout folder on the offline machine: Microsoft Learn vs_professional.exe --noWeb Use code with caution. Copied to clipboard
To start building an offline installer, you do not download a single massive .iso file. Instead, Microsoft utilizes a lightweight executable file known as a . The bootstrapper initializes, configures, and coordinates the download of your offline installation catalog. Navigate to the official Visual Studio Downloads Portal . microsoft visual studio 2022 download offline installer
--add : Specifies the exact workload or component ID to include in your offline layout.
Download the Visual Studio 2022 bootstrapper:
Select the specific edition of Visual Studio 2022 you require: vs_community
Open and navigate to the folder containing the bootstrapper. Then run the appropriate command:
This downloads workloads, components, and SDKs— requires ~40–50 GB of disk space .
Microsoft.VisualStudio.Workload.Data (Data storage and processing) Step 3: Create the Offline Layout via Command Line --add : Specifies the exact workload or component
Open Command Prompt as Administrator on the offline machine, navigate to the layout folder, and run:
vs_community.exe --layout c:\VS2022_Offline\FullLayout --lang en-US --update
vs_community.exe --layout C:\VS2022Offline --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --lang en-US