| Argument | Function | Usage Example | | :--- | :--- | :--- | | --layout | Designates the target folder for offline files. | --layout D:\VS2022Offline | | --add | Adds specific workloads or components. Prevents downloading the entire IDE. | --add Microsoft.VisualStudio.Workload.CoreEditor | | --remove | Removes specific components (used when updating a layout). | --remove Microsoft.Component.Help | | --includeRecommended | Installs recommended components for selected workloads. | (Switch, no value needed) | | --includeOptional | Installs optional components (increases size significantly). | (Switch, no value needed) | | --lang | Specifies language locales (defaults to system language if omitted). | --lang en-US fr-FR | | --config | Uses a .vsconfig file to define the layout structure. | --config "C:\myconfig.vsconfig" |
vs_BuildTools.exe --layout C:\VS2022_BuildTools_Offline --lang en-US build tools for visual studio 2022 offline installer
| Edition | Typical Filename | Description | | :--- | :--- | :--- | | | vs_enterprise.exe | For large organizations; includes full feature set. | | Professional | vs_professional.exe | For individual developers or small teams. | | Community | vs_community.exe | Free for open-source, academic, and small commercial use. | | Argument | Function | Usage Example |