Centralize NuGet package versions with Directory.Packages.props
Use NuGet Central Package Management to declare direct package versions once per repository instead of repeating them in every project file.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use NuGet Central Package Management to declare direct package versions once per repository instead of repeating them in every project file.
A decision guide that compares Directory.Packages.props with per‑project PackageReference versions, outlines constraints, and shows a concrete implementation and verification steps.
Central Package Management is intended to provide a single source of truth for package versions in a solution using Directory.Packages.props and NuGet.config centralPackageVersions with ManagePackageVersionsCentrally enabled for SDK-style projects. The design allows a project file to declare an explicit Version attribute on a PackageReference, which can over