vs_buildtools.exe --config config.vsconfig --quiet Here are essential IDs for Build Tools 2022 (latest as of 2024–2025):
Introduction In modern software development, continuous integration and build automation are paramount. While most developers are familiar with the full Visual Studio IDE, many build servers, CI/CD pipelines (like Jenkins, Azure DevOps, or GitHub Actions), and containerized environments do not require—or want—the overhead of a full graphical user interface. Enter Visual Studio Build Tools 2022 . visual studio build tools 2022 offline installer
vs_buildtools.exe --layout C:\vs2022_buildtools_offline --lang en-US This downloads all available Build Tools workloads and components for English (en-US). It will take a long time (10–100+ GB) and considerable bandwidth. To save space and time, specify only the workloads you actually need. Use --add to include workloads or individual components. vs_buildtools
vs_buildtools.exe --layout C:\vs2022_buildtools_offline --lang en-US The bootstrapper will refresh the layout, downloading only new or updated packages. Instead of a single vs2022_buildtools_offline folder, create dated versions: Use --add to include workloads or individual components
(run on target offline build server):
| Workload/Component | ID | |--------------------|----| | .NET desktop build tools | Microsoft.VisualStudio.Workload.ManagedDesktopBuildTools | | MSBuild Tools | Microsoft.VisualStudio.Workload.MSBuildTools | | C++ build tools | Microsoft.VisualStudio.Workload.VCTools | | Universal Windows Platform build tools | Microsoft.VisualStudio.Workload.UniversalBuildTools | | .NET Core cross-platform build tools | Microsoft.VisualStudio.Workload.NetCoreBuildTools | | Windows 10 SDK (latest) | Microsoft.VisualStudio.Component.Windows10SDK.20348 | | Windows 11 SDK (22H2) | Microsoft.VisualStudio.Component.Windows11SDK.22621 | | C++ CMake tools | Microsoft.VisualStudio.Component.VC.CMake | | C++ ATL | Microsoft.VisualStudio.Component.VC.ATL | | C++ MFC | Microsoft.VisualStudio.Component.VC.MFC | | NuGet packages and build tasks | Microsoft.VisualStudio.Component.NuGet.BuildTools |
The Visual Studio Build Tools 2022 offline installer is an indispensable tool for professional build automation. By creating a local layout, you gain reproducibility, speed, and independence from the internet—critical for CI/CD pipelines, air-gapped networks, and disaster recovery.