From e4fcbbf92a39fa6aadeb482d6a5af30d3476bf5e Mon Sep 17 00:00:00 2001 From: Daniel Moody Date: Mon, 5 Jan 2026 22:14:14 -0600 Subject: [PATCH] SERVER-115917 set specific Visual Studio and MSVC install version (#45577) GitOrigin-RevId: afa10fd1f222edcb0a059013b1ff522417c72370 --- .bazelrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bazelrc b/.bazelrc index c71d7a893c8..c64b08072ac 100644 --- a/.bazelrc +++ b/.bazelrc @@ -88,6 +88,8 @@ common:macos --repo_env=LLVM_VERSION=19 # Pin down the Microsoft Visual compiler. If you would like to use # the default compiler version installed in this host, comment the line. +common:windows --repo_env=BAZEL_VS="C:/Program Files/Microsoft Visual Studio/2022/Professional" +common:windows --repo_env=BAZEL_VC="C:/Program Files/Microsoft Visual Studio/2022/Professional/VC" common:windows --repo_env=BAZEL_VC_FULL_VERSION=14.31.31103 # Default the Visual C Redistribution to v14.3 for Windows installer.