Skip to content

VS2022 BuildTools are not found by the logic introduced in #3775 #3794

@nils-a

Description

@nils-a

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions