Skip to content

[repo-assist] chore: introduce Central Package Management (CPM) #191

@github-actions

Description

@github-actions

🤖 This is an automated PR from Repo Assist.

What

Introduces [Central Package Management (CPM)]((learn.microsoft.com/redacted) by adding a Directory.Packages.props file at the solution root.

Changes

  • Directory.Packages.props (new): declares ManagePackageVersionsCentrally=true and lists all 8 NuGet package versions used across the solution.
  • tests/FixedPointNano.Tests/FixedPointNano.Tests.csproj: removed Version attributes from all PackageReference items.
  • benchmarks/FixedPointNano.Benchmarks/FixedPointNano.Benchmarks.csproj: removed Version attribute from BenchmarkDotNet reference.

Why

Package versions were previously scattered across two .csproj files. With CPM, all version pins live in one file — future upgrades (e.g. bumping NUnit or the Test SDK) require editing only Directory.Packages.props rather than finding every project that references the package.

No functional changes; this is purely a build/maintenance improvement.

Test Status

✅ Build succeeded (dotnet build -c Release), 1437 tests pass (dotnet test -c Release), 0 warnings, 0 errors.

Targets: develop


Warning

Protected Files

This was originally intended as a pull request, but the patch modifies protected files. These files may affect project dependencies, CI/CD pipelines, or agent behaviour. Please review the changes carefully before creating the pull request.

Click here to create the pull request once you have reviewed the changes

Protected files
  • Directory.Packages.props

To route changes like this to a review issue instead of blocking, configure protected-files: fallback-to-issue in your workflow configuration.

Generated by 🌈 Repo Assist, see workflow run. Learn more.

Add this agentic workflows to your repo

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@e15e57b40918dbca11b350c55d02ab61934afa75

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions