central package management

A NuGet feature that records every package version for a repository in one Directory.Packages.props file, so project files name packages without versions.

In more detail

Turn it on with ManagePackageVersionsCentrally and list each PackageVersion once. A security update then changes one line, and stale packages are easy to find.

Example

<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="10.0.0" />

Related terms

Taught in

References