From 69cf33dd9d5c7bf40411140a4e087ee8c4df229b Mon Sep 17 00:00:00 2001 From: Oliver Smith-Denny Date: Fri, 19 Jun 2026 07:18:37 -0700 Subject: [PATCH] BaseTools: Default Windows Build to VS2026 edk2 is moving to VS2026 for the MSVC toolchain, as such, upgrade the Windows BaseTools build default from VS2022 -> VS2026. Signed-off-by: Oliver Smith-Denny --- BaseTools/Edk2ToolsBuild.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BaseTools/Edk2ToolsBuild.py b/BaseTools/Edk2ToolsBuild.py index 4d9dc08842..5d9f53d1d9 100644 --- a/BaseTools/Edk2ToolsBuild.py +++ b/BaseTools/Edk2ToolsBuild.py @@ -1,7 +1,7 @@ # @file Edk2ToolsBuild.py # Invocable class that builds the basetool c files. # -# Supports VS2019, VS2022, and GCC +# Supports VS2019, VS2022, VS2026, and GCC ## # Copyright (c) Microsoft Corporation # @@ -25,7 +25,7 @@ class Edk2ToolsBuild(BaseAbstractInvocable): def ParseCommandLineOptions(self): ''' parse arguments ''' ParserObj = argparse.ArgumentParser() - ParserObj.add_argument("-t", "--tool_chain_tag", dest="tct", default="VS2022", + ParserObj.add_argument("-t", "--tool_chain_tag", dest="tct", default="VS2026", help="Set the toolchain used to compile the build tools") ParserObj.add_argument("-a", "--target_arch", dest="arch", default=None, choices=[None, 'IA32', 'X64', 'AARCH64'], help="Specify the architecture of the built base tools. Not specifying this will fall back to the default "