MinimalMSVC can copy the VC SDK and Windows SDK from the current host and create minimal invocation scripts. It supports x86/x64 architectures and includes tools such as cl/clang-cl/link/lld-link. The compressed 7z format requires only 140MB of transfer size at minimum.
- Install Visual Studio 2019/2022
- Run
build.bat
, which will create theMinimalMSVC.exe
program in thebin
folder - Run
MinimalMSVC.exe
, which will generate anMSVC-xxx
folder (e.g.,MSVC-14.43.34808
) in the current directory