Why creating a local ISO is the smartest move for developers and IT teams.
In the world of .NET and C++ development, Visual Studio 2022 stands as a titan. It’s a 64-bit IDE designed for speed and handling complex workloads. However, Microsoft’s default download is a lightweight web installer (just a few megabytes). This is problematic for developers with poor internet connections, multiple machines to configure, or strict corporate firewalls.
That’s where the Visual Studio 2022 offline installer ISO becomes essential. But not all offline installers are created equal. How do you build the best one?
This article will walk you through everything: from generating a custom offline layout (the modern equivalent of an ISO) to understanding which workloads to include, and finally, the best practices for deployment.
Technically, Microsoft stopped distributing pre-packaged ISO files for Visual Studio after the 2017 version. For VS 2022, the "Offline Installer" is a Layout. A layout is a local folder containing all the required package files (.vsix, .msi, .cab) so you can install VS 2022 without an internet connection.
The "ISO" concept: Savvy administrators take this local Layout folder and convert it into an ISO file (using tools like AnyBurn, ImgBurn, or PowerShell’s New-ISOFile). This ISO can be mounted virtually or burned to a USB/DVD.
Why the "Best" matters: A default layout might be 40GB. The best layout is tailored, compressed, and contains exactly what your team needs—and nothing they don't.
Download the specific edition bootstrapper (the small executable file) from the Visual Studio downloads page.
vs_community.exevs_professional.exevs_enterprise.exevs_community.exe --layout C:\VS2022Offline --lang en-US --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended
oscdimg -m -o -u2 C:\VS2022Offline C:\ISOs\VS2022Offline.iso
setup.exe --quiet --wait --norestart --add Microsoft.VisualStudio.Workload.ManagedDesktop
Step 1 – Download the bootstrapper
Go to the Visual Studio 2022 download page
Choose your edition:
Download the small .exe bootstrapper, e.g.:
vs_community.exevs_professional.exevs_enterprise.exeStep 2 – Create offline layout
Open Command Prompt as Administrator and run:
vs_community.exe --layout c:\vs2022_offline --lang en-US
Examples for specific workloads (smaller download):
vs_community.exe --layout c:\vs2022_offline --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --lang en-US
Step 3 – Wait
It downloads 20–50 GB depending on selected components.