vs_Enterprise.exe --layout D:\VS2022_Full_Offline --all --lang en-US de-DE fr-FR ja-JP zh-CN
| Workload | ID | |----------|-----| | .NET desktop development | Microsoft.VisualStudio.Workload.ManagedDesktop | | Desktop development with C++ | Microsoft.VisualStudio.Workload.NativeDesktop | | Universal Windows Platform dev | Microsoft.VisualStudio.Workload.Universal | | Game development with Unity | Microsoft.VisualStudio.Workload.ManagedGame | | Game development with C++ | Microsoft.VisualStudio.Workload.NativeGame | | ASP.NET and web dev | Microsoft.VisualStudio.Workload.NetWeb | | Azure development | Microsoft.VisualStudio.Workload.Azure | | Data storage and processing | Microsoft.VisualStudio.Workload.Data | | Office/SharePoint dev | Microsoft.VisualStudio.Workload.Office | visual studio 2022 offline download
vs_Community.exe --layout C:\VS2022_Offline --add Microsoft.VisualStudio.Workload.ManagedDesktop --lang en-US vs_Enterprise
To list available IDs:
vs_<Edition>.exe --layout <path_to_offline_folder> --add <workload_or_component_ID> --includeRecommended --includeOptional --lang <language_code> .exe --layout <