Skip to content

Use Centrally managed NuGet package versions #865

Open
@bart-degreed

Description

@bart-degreed

We currently store the version of dependent NuGet packages centrally in Directory.Build.props using placeholder variables. This works, but when updating a package reference, the placeholder gets replaced with a hardcoded version. This requires a manual correction step.

A better solution is to instead use Directory.Packages.props, which works by leaving out the version from the package references in project files.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions