Skip to content

chore: adopt NuGet Central Package Management - #166

Merged
Kralizek merged 7 commits into
masterfrom
chore/central-package-management
Nov 19, 2026
Merged

Kralizek merged 7 commits into
masterfrom
chore/central-package-management

Conversation

@Kralizek

@Kralizek Kralizek commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Introduce root-level Directory.Packages.props with ManagePackageVersionsCentrally=true and CentralPackageTransitivePinningEnabled=true (matching OCP).
  • Centralize all 18 current package versions, including existing AWS SDK version ranges.
  • Remove per-project Version attributes from library, tests, and three samples.
  • Preserve the existing target frameworks, reference conditions and PrivateAssets settings.
  • Retain Dependabot NuGet updates against centralized versions.

Transitive pinning

Enable NuGet's central transitive pinning so centrally specified versions can raise transitive dependencies as needed. This is not packages.lock.json/locked-mode restore; NuGet may promote centrally pinned transitive dependencies into the packed package dependency groups. CI build, restore and pack must pass with these semantics.

Validation

GitHub Actions: build/test for .NET 10 and .NET 11, pack and upload artifacts. Verify latest head CI before merge.

Release

Build maintenance only; no immediate NuGet release intended. Do not merge without approval.

@sonarqubecloud

Copy link
Copy Markdown

@Kralizek
Kralizek merged commit 285da1a into master Nov 19, 2026
2 checks passed
@Kralizek
Kralizek deleted the chore/central-package-management branch November 19, 2026 19:08
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