Skip to content

[windows] Avoid querying vswhere if an attempt was already made #40196

@franciscojma86

Description

@franciscojma86

We are checking for the cached VS details being null to determine whether we should query vswhere or not. This doesn't consider for the scenario where there has already been a lookup, but didn't find an installation, resulting in repeated calls to vswhere.

Metadata

Metadata

Labels

a: desktopRunning on desktopplatform-windowsBuilding on or for Windows specificallytoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions