"installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise", "addProductLang": ["en-US"], "add": [ "Microsoft.VisualStudio.Workload.ManagedDesktop" ], "includeRecommended": true
Then run:
vs_enterprise.exe --layout c:\vs2022_offline --lang en-US : The full layout size exceeds 35 GB. For practical distribution, specify only required workloads. 3.2 Selecting Specific Workloads (Recommended) Reduce size by including only needed workloads. For example, a .NET desktop and game development layout: visual studio 2022 offline installer iso