Visual Studio Build Tools 2022 Offline Installer Now
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:
(run on target offline build server):
C:\BuildTools\MSBuild\Current\Bin Or use full path in scripts. Build Tools 2022 does not support Windows 8.1 or older. Upgrade OS. Part 9: Comparison with Alternative Approaches | Method | Pros | Cons | |--------|------|------| | Online installer each time | Always latest patches | Slow, network-dependent, unreproducible | | Offline layout (this article) | Reproducible, air-gap capable, fast deployment | Requires manual updates, large initial download | | Chocolatey / winget | Easy scripting | Still requires internet per install | | Pre-built VM image with tools baked in | Extremely fast | Heavy, less flexible | visual studio build tools 2022 offline installer
(run on internet-connected machine):
Full list: Run vs_buildtools.exe --list in an online environment. 1. Offline Installation on Windows Server Core Windows Server Core has no GUI. You must use the silent installer: vs_buildtools
| 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 | Upgrade OS
vs_buildtools.exe --config config.vsconfig --quiet Here are essential IDs for Build Tools 2022 (latest as of 2024–2025):