Msvc V142 - Vs 2019 C X64/x86 Build Tools -
Pro tip: If you are running a CI/CD pipeline (GitHub Actions, Azure DevOps, Jenkins), do install the full IDE. Use the Build Tools for Visual Studio 2019 installer and select only the v142 workload. v142 in CI/CD Pipelines Here is how you invoke the v142 toolset for x64 on a headless build server:
| Visual Studio Version | Default Platform Toolset | |----------------------|--------------------------| | VS 2017 | v141 | | | v142 | | VS 2022 | v143 | The Specifics: msvc v142 for x64/x86 When you select v142 , you are telling MSBuild: "Use the C++ compiler and libraries that shipped with Visual Studio 2019." msvc v142 - vs 2019 c x64/x86 build tools
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64 msbuild MySolution.sln /p:PlatformToolset=v142 /p:Configuration=Release /p:Platform=x64 Pro tip: If you are running a CI/CD
