Skip to content

NuGet features should light up for projects that have the capability; "PackageReferences" #9957

Closed
NuGet/NuGet.Client
#3618

Description

@davkean

This is a superset of #9358.

As part of dotnet/project-system#2491, we're adding general purpose PackageReference support to the Common Project System (CPS). Project types will opt into this feature by making sure they are marked with the "PackageReferences" capability.

Currently NuGet has a hard-coded set of project types which breaks the goal of having a project type just opt into this. NuGet can continue to consult the SupportedProjectType.IsSupported for existing project types, but if that fails, fall back to doing a hierarchy.IsCapabilityMatch("PackageReferences") for projects that fail that test.

Metadata

Metadata

Assignees

Labels

Functionality:RestorePriority:2Product:VS.ClientType:DCR

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions