Portable Microsoft Visual C++ Compiler extract from Visual Studio Installer, include Windows SDK headers and libraries.
VC | Windows SDK | Visual Studio | Size | Packing Date |
---|---|---|---|---|
v14.40.33807 | v10.0.26100 | Visual Studio 2022 | 131 MB | 2024/07/19 |
v14.39.33519 | v10.0.22621 | Visual Studio 2022 | 103 MB | 2024/05/10 |
Download from Releases.
setup_x64/x86.bat # set environment variables
cl.exe # run compiler
Create new profile and set command line:
%SystemRoot%\System32\cmd.exe /K setup_x64/x86.bat
You can using MSVC-Portable.bat
to download latest version from Microsoft.
Thanks to @mmozeiko