Skip to content

Centralize NuGet package versions - #935

Merged
Sergio0694 merged 1 commit into
mainfrom
user/sergiopedri/centralize-package-versions
Sep 4, 2026
Merged

Sergio0694 merged 1 commit into
mainfrom
user/sergiopedri/centralize-package-versions

Conversation

@Sergio0694

Copy link
Copy Markdown
Owner

Description

Migrates repository package references to NuGet Central Package Management.

  • Adds a root Directory.Packages.props with authoritative versions for all CPM-owned packages.
  • Preserves package metadata, conditions, dynamic local-package versions, and the resolved dependency graph.
  • Converts the F# SDK's implicit FSharp.Core reference to an explicit centrally versioned reference.
  • Keeps Microsoft.Windows.CsWinRT inline because NuGet requires implicit package versions on the PackageReference itself.
  • Adds the central package file to the solution items.

Additional context

This work was originally stacked on #934, which has now merged. The PR therefore targets main directly.

The installed .NET SDK does not provide a supported CPM migration command, so the migration was performed surgically after auditing all tracked MSBuild project, props, and targets inputs.

@Sergio0694 Sergio0694 added .NET Pull requests that update .NET code dependencies 馃獩 Pull requests that updates some dependencies maintenance 鈿欙笍 Issues/PRs about maintenance/CI work labels Sep 4, 2026
Move repository package versions to NuGet Central Package Management while preserving implicit SDK-managed references and resolved dependency graphs.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 08cf27ea-d94a-4c4e-9049-20f99dd952b9
@Sergio0694
Sergio0694 force-pushed the user/sergiopedri/centralize-package-versions branch from 1be0eb0 to 0cca46b Compare September 4, 2026 23:03
@Sergio0694
Sergio0694 merged commit 40dbe40 into main Sep 4, 2026
27 checks passed
@Sergio0694
Sergio0694 deleted the user/sergiopedri/centralize-package-versions branch September 4, 2026 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies 馃獩 Pull requests that updates some dependencies maintenance 鈿欙笍 Issues/PRs about maintenance/CI work .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant