On the target machine (no internet needed), simply run:
Then reference it:
D:\VS2022_Offline\vs_enterprise.exe Or for a silent, unattended installation: microsoft visual studio 2022 offline installer
Enter the (officially known as the "layout" feature). Microsoft has made it surprisingly easy to create a local, portable copy of the entire IDE. On the target machine (no internet needed), simply
vs_enterprise.exe --layout --list Now that you have your D:\VS2022_Offline folder (approx 35-45GB depending on workloads), copy it to a USB drive, network share, or external HDD. vs_enterprise
vs_enterprise.exe --layout D:\VS2022_Offline --config vs2022.config Need just the compilers and MSBuild for a CI/CD pipeline? Use vs_buildtools.exe with the same --layout command. Final Thoughts The offline installer transforms Visual Studio 2022 from a bandwidth-hungry web download into a reliable, portable asset. Whether you are securing a SCADA network, standardizing a computer lab, or just tired of waiting for downloads, the --layout command is your best friend.