diff options
author | Rob Mensching <rob@firegiant.com> | 2021-12-27 16:39:36 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-12-28 14:18:52 -0800 |
commit | f8eabf093ebeb18313fd8d434641e089ab76f7ac (patch) | |
tree | 5de294b169280c3ac66a4e475be75ff748dc62d1 | |
parent | f736593cd8cd7486132109e01df03921e5c24000 (diff) | |
download | wix-f8eabf093ebeb18313fd8d434641e089ab76f7ac.tar.gz wix-f8eabf093ebeb18313fd8d434641e089ab76f7ac.tar.bz2 wix-f8eabf093ebeb18313fd8d434641e089ab76f7ac.zip |
Ensure build uses VS2022 env to build
-rw-r--r-- | src/build_all.cmd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_all.cmd b/src/build_all.cmd index c59a6bc5..050d1ab7 100644 --- a/src/build_all.cmd +++ b/src/build_all.cmd | |||
@@ -73,7 +73,7 @@ if not exist "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" | |||
73 | exit /b 2 | 73 | exit /b 2 |
74 | ) | 74 | ) |
75 | 75 | ||
76 | for /f "usebackq delims=" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath`) do ( | 76 | for /f "usebackq delims=" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -version [17.0^,18.0^) -property installationPath`) do ( |
77 | if exist "%%i\Common7\Tools\vsdevcmd.bat" ( | 77 | if exist "%%i\Common7\Tools\vsdevcmd.bat" ( |
78 | call "%%i\Common7\Tools\vsdevcmd.bat" -no_logo | 78 | call "%%i\Common7\Tools\vsdevcmd.bat" -no_logo |
79 | exit /b | 79 | exit /b |