vs_community.exe --layout C:\VS2022_Offline --add Microsoft.VisualStudio.Workload.NetCrossPlat --exclude Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin
The setup engine will download all packages into the target folder. This can take from 20 minutes to several hours depending on your internet speed and selected components. visual studio community edition offline installer
(Warning: this requires ~45GB+ of space): vs_community.exe --layout C:\VSLayout vs_community
Before beginning, ensure you have:
: Ensure your installation path is less than 80 characters to avoid errors. visual studio community edition offline installer
vs_community.exe --layout D:\VS2022_Offline --lang en-US