mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-06-10 16:47:14 +00:00
The hosted windows-latest runner is migrating from VS 2022 to VS 2026 (NOTICE: windows-2025 -> windows-2025-vs2026 by 2026-05-12). The hardcoded path C:\Program Files\Microsoft Visual Studio\2022\Enterprise no longer exists on the new image, so vcvarsall.bat silently fails and 'cl' is not on PATH. Resolve the install path via vswhere.exe (stable location, version agnostic) and exit if vcvarsall.bat fails so future breakage surfaces immediately instead of as a confusing 'cl not recognized' error.