Skip to content

Support allowedVersions similar to packages.config #49350

@thompson-tomo

Description

@thompson-tomo

Is your feature request related to a problem?

When a nuget package is packaged the allowed versions is written into the nuspec file and the version is ignored.

Describe the solution you'd like

I want to specify as part of a package reference the allowed versions of that package so that it can appear in the nuspec. It would also provide control over tools like dependabot who would be blocked from exceeding that range. This also applies to CPM.

Additional context

NuGet/Home#11842

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions