(For a full list of workload and component IDs, consult Microsoft docs.)
Use only the workloads you need (see workload IDs above). A typical .NET + C++ layout is ~20–25 GB. visual studio 2022 offline install
To save space and time, it is highly recommended to specify exactly which Workloads you need. (For a full list of workload and component
Common Workload IDs:
Example Command:
This command downloads the .NET Desktop and Web Development workloads to a folder named VS2022Offline using English language files. Example Command:
This command downloads the
vs_community.exe --layout c:\VS2022Offline --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --includeRecommended --lang en-US
Note: The --includeRecommended switch ensures you get the necessary dependencies for those workloads.