Skip to content

Consider adding "accepted SDK name match pattern" to SDK manifests #7293

Description

@rainersigwald

Currently, we try SDK resolvers based on which are resolved, and their self-defined priority order. But that means that (for example) we must load the NuGet SDK resolver even for projects that don't use it, because we can't know in advance that (for example) the .NET SDK resolver will be sufficient.

We could add a name pattern to the registration and search by longest-match first.

It could be something like

  • .NET SDK Resolver: Microsoft.NET.*
  • NuGet resolver: *

Then if we're trying to resolve Microsoft.NET.SDK it'll match against the former and we won't even have to load the latter.

(this is based on ideas from and discussion with @olgaark)

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions