vs_setup.exe --quiet --wait --norestart --add Microsoft.VisualStudio.Workload.ManagedDesktop --includeRecommended
Extract the downloaded installation files to a local folder on your Windows machine. You can use a tool like 7-Zip to extract the files. visual studio 2022 standalone installer
This gives you a for air-gapped or controlled environments. vs_setup
"version": "17.0.0", "components": [ "Microsoft.VisualStudio.Workload.Core", "Microsoft.VisualStudio.Workload.ManagedDesktop" ], "workloads": [ "Microsoft.VisualStudio.Workload.NetCoreTools" ] "version": "17
| Error | Fix | |-------|-----| | Layout creation fails with network error | Retry; use --fix flag | | Installation asks for internet | Use --noweb + ensure all workloads predownloaded | | Missing component during install | Re-run layout creation with missing --add | | Certificate trust errors | Import certificates from \certificates folder in layout |
⚠️ --noweb forces offline mode. --noUpdateInstaller prevents the installer from trying to update itself online.