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 <osde@microsoft.com>
This commit is contained in:
Oliver Smith-Denny 2026-06-19 07:18:37 -07:00 committed by mergify[bot]
parent a967067325
commit 69cf33dd9d

View file

@ -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 "