Open your terminal and navigate to the folder where you downloaded vs_buildtools.exe .
Once the download is complete, transfer the C:\BuildToolsLayout folder to your offline machine via a USB drive or local network. microsoft c++ build tools offline installer download
Scroll down to the section and expand Tools for Visual Studio . Open your terminal and navigate to the folder
If you need specific versions for older projects, you can add them to your layout command: Create an offline installation - Visual Studio (Windows) microsoft c++ build tools offline installer download
vs_buildtools.exe --layout C:\BuildToolsLayout --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --lang en-US Use code with caution. --layout : Specifies the destination folder.
vs_setup.exe --noWeb --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended Use code with caution.