Skip to content

Commit 17a479b

Browse files
committed
Hardcode the location of vcvars64.bat because vswhere doesn't show the VS 2022 installation path.
1 parent 6ea8908 commit 17a479b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildscripts/kokoro/windows64.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ set JAVA_HOME=
1717

1818
mkdir grpc-java-helper64
1919
cd grpc-java-helper64
20-
call "%VS140COMNTOOLS%\vsvars64.bat" || exit /b 1
20+
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat" || exit /b 1
2121
call "%WORKSPACE%\buildscripts\make_dependencies.bat" || exit /b 1
2222

2323
cd "%WORKSPACE%"

0 commit comments

Comments
 (0)