vs_community.exe --layout C:\VS2022_Offline_Full (This will download every single workload and component. It is massive and usually not recommended.)
vs_community.exe --layout C:\VS2022_Offline --lang en-US de-DE ja-JP For deploying to hundreds of machines, create a response.json file. First, get a template: visual studio community 2022 offline installer
| Workload | ID | | :--- | :--- | | .NET desktop development | Microsoft.VisualStudio.Workload.ManagedDesktop | | Desktop development with C++ | Microsoft.VisualStudio.Workload.NativeDesktop | | Game development with Unity | Microsoft.VisualStudio.Workload.ManagedGame | | ASP.NET and web development | Microsoft.VisualStudio.Workload.NetWeb | | Python development | Microsoft.VisualStudio.Workload.Python | | Node.js development | Microsoft.VisualStudio.Workload.Node | To create the offline installer, use the --layout switch and specify a destination folder. vs_community
This example downloads .NET desktop, ASP.NET, and C++ desktop: create a response.json file. First