Vs 2022 Offline Installer May 2026
Use --add with specific component IDs (not workloads) to trim size further. CreateLayout.ps1
"version": "1.0", "components": [ "Microsoft.VisualStudio.Workload.ManagedDesktop", "Microsoft.VisualStudio.Component.CSharp" ], "locale": "en-US" vs 2022 offline installer
$Workloads = @( "Microsoft.VisualStudio.Workload.ManagedDesktop", "Microsoft.VisualStudio.Workload.NetWeb", "Microsoft.VisualStudio.Workload.NativeDesktop" ) $LayoutPath = "D:\VS2022_Layout" $Bootstrapper = "vs_enterprise.exe" & $Bootstrapper --layout $LayoutPath --lang en-US --includeRecommended ` ($Workloads | ForEach-Object "--add $_" ) --useLatestInstaller --wait Use --add with specific component IDs (not workloads)
vs_enterprise.exe --layout . --noweb --config InstallConfig.json Example InstallConfig.json : vs 2022 offline installer