Skip to content

Comments

Migrate to centralized NuGet package management (CPM)#2163

Merged
jeremydmiller merged 1 commit intomainfrom
centralized-nugets
Feb 11, 2026
Merged

Migrate to centralized NuGet package management (CPM)#2163
jeremydmiller merged 1 commit intomainfrom
centralized-nugets

Conversation

@jeremydmiller
Copy link
Member

Summary

  • Introduces Directory.Packages.props with centralized version management for all ~95 NuGet packages across 118 project files
  • Strips Version= attributes from all PackageReference entries in csproj/fsproj files, with versions now governed centrally
  • Uses TFM-conditional <PackageVersion> groups for packages that require different versions per target framework (Microsoft.Extensions.*, EF Core, Npgsql.EF, AspNetCore.OpenApi)
  • Normalizes version drift (37 packages had conflicting versions across projects), upgrading test infra to latest (xunit 2.9.3, Test.Sdk 17.14.1, xunit.runner.visualstudio 2.8.2) and OpenTelemetry to 1.14.0
  • Collapses now-redundant TFM-conditional <ItemGroup>s in Wolverine.csproj, Wolverine.EntityFrameworkCore.csproj, and several test projects
  • Fixes duplicate FSharp.Core and StronglyTypedId entries in WolverineWebApi.csproj, and a redundant conditional Alba entry in Wolverine.Kafka.Tests.csproj
  • Uses VersionOverride in 3 projects that legitimately need non-central versions (InMemoryMediator, OtelWebApiWolverineMarten, WolverineWebApi)

Test plan

  • dotnet build wolverine.sln --framework net9.0 passes with 0 errors
  • CI build across all target frameworks
  • Spot-check a few test suites to confirm runtime behavior unchanged

🤖 Generated with Claude Code

Move all package versions into Directory.Packages.props with TFM-conditional
groups for Microsoft.Extensions.*, EF Core, Npgsql.EF, and AspNetCore.OpenApi.
Normalize version drift across 95 packages, collapse redundant TFM-conditional
ItemGroups, fix duplicate entries, and add VersionOverride where projects
legitimately need different versions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant