Skip to main content

Visual Studio 2022 Offline Install (Android FRESH)

On the target machine (no internet):

cd D:\vs2022_layout
vs_enterprise.exe --noweb --add <workload_IDs> --includeRecommended

Or run a quiet installation (no UI):

vs_enterprise.exe --quiet --noweb --wait --add Microsoft.VisualStudio.Workload.ManagedDesktop --includeRecommended

To download everything for a specific edition (warning: this is massive—over 40GB), use: visual studio 2022 offline install

vs_enterprise.exe --layout C:\VS2022_Offline_Layout

This downloads every possible workload, component, SDK, and language pack. It is the "kitchen sink" approach.

Open Command Prompt as Administrator and navigate to your bootstrapper folder. On the target machine (no internet) :

vs_community.exe --layout C:\VS2022Offline --add Microsoft.VisualStudio.Workload.CoreEditor --add Microsoft.VisualStudio.Workload.ManagedDesktop --lang en-US
  • Wait for the download to complete. The layout folder will contain installer packages and catalog.
  • vs_community.exe --noWeb --quiet --wait --norestart --add ...
    
    vs_enterprise.exe --layout <layout_path> --add <workload_IDs> --lang <language>
    

    Use only the workloads you need (see workload IDs above). A typical .NET + C++ layout is ~20–25 GB.

    If you need Visual Studio in a language other than the operating system's default language, you must include language packs in your layout command. cd D:\vs2022_layout

    Example: Adding Spanish and French

    vs_community.exe --layout C:\VS2022Offline --add Microsoft.VisualStudio.Workload.ManagedDesktop --lang es-ES fr-FR