A: It depends on the workloads selected.
This downloads the core build tools to a folder named vs_offline .
For a typical C++ build environment, you only need specific workloads to save space: vs_buildtools.exe --layout C:\VS2022BuildTools --add Microsoft.VisualStudio.Workload.NativeDesktopBuildTools --includeRecommended --lang en-US Visual Studio 2022 Build Tools: Offline Installation visual studio build tools 2022 offline download
On the target machine (the one without internet):
echo Download complete. Copy folder '%LAYOUT_PATH%' to target machine. pause A: It depends on the workloads selected
This downloads only new or changed packages.
Or simply launch vs_setup.exe from the offline layout (if present). visual studio build tools 2022 offline download
This usually happens if you try to install a workload in the offline step that you did not include when creating the layout in Step 2.
vs_BuildTools.exe --layout <offline_folder_path> --add <workload_IDs> --lang en-US