ipfs-shipyard/net-ipfs-core

Use central package management to ensure package version consistency

erikmav opened this issue · 1 comments

The larger repo after #16 will have package versions spread all over the various csproj files. Move to using a root-level Directory.Packages.props to make package upgrades much easier. See https://learn.microsoft.com/en-us/nuget/consume-packages/Central-Package-Management for documentation on central package management.

  • Create Directory.Packages.props in repo root with ManagePackageVersionsCentrally set to true.
  • For each PackageReference in each csproj, create a corresponding item in Directory.Packages.props at the latest of all version numbers across the projects. Remove the version number in the csproj.
  • Ideally at this point upgrade all packages to latest from nuget.org.

Combining repos not happening per closure of #17. Core repo only has 2 projects with non-overlapping package refs.