PR #3775 introduced a new logic to search for installed VS editions.
Especially, the old logic to search for VS 2022 in SpecialPath.ProgramFiles and SpecialPath.ProgramFilesX86 was reduced to searching only SpecialPath.ProgramFiles.
However, the BuildTools edition is not (as every other edition of VS2022) installed into SpecialPath.ProgramFiles, but is instead installed into SpecialPath.ProgramFilesX86.
Hence, an installed BuildTools edition of VS2022 is never found by the logic laid out in #3775.
This first came up as a comment to PR3775 by @WGroenestein.