vs_<Edition>.exe --layout <path_to_offline_folder> --add <workload_or_component_ID> --includeRecommended --includeOptional --lang <language_code>

vs_Community.exe --layout C:\VS2022_Offline --add Microsoft.VisualStudio.Workload.ManagedDesktop --lang en-US

echo Offline layout created at %LAYOUT_PATH% pause

vs_Community.exe --quiet --config install_config.json --noweb Here are frequently used IDs for --add :

To list available IDs:

vs_Community.exe --layout --list Over time, Microsoft releases updates (security patches, new features). To refresh your offline cache:

Offline Download ~upd~ — Visual Studio 2022

vs_<Edition>.exe --layout <path_to_offline_folder> --add <workload_or_component_ID> --includeRecommended --includeOptional --lang <language_code>

vs_Community.exe --layout C:\VS2022_Offline --add Microsoft.VisualStudio.Workload.ManagedDesktop --lang en-US visual studio 2022 offline download

echo Offline layout created at %LAYOUT_PATH% pause vs_&lt;Edition&gt;

vs_Community.exe --quiet --config install_config.json --noweb Here are frequently used IDs for --add : .exe --layout &lt

To list available IDs:

vs_Community.exe --layout --list Over time, Microsoft releases updates (security patches, new features). To refresh your offline cache: