Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Jun 11, 2025

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.

Original issue description:

Convert this repository to use NuGet CentralPackageManagement with transitive pinning enabled.
https://learn.microsoft.com/en-us/nuget/consume-packages/Central-Package-Management

Create a root Directory.Packages.props with PackageVersion items for all packages used by this repository. Those should use the properties defined in Versions.props if present.

Remove the Version attribute from all PackageReference items. If any projects have a different version used than then centrally specified version, then preserve that version by using a VersionOverride attribute.

If possible, remove extraneous PackageReferences if those are already referenced by the package indirectly. Indirect package references can be seen by examining the project.assets.json after restoring the project. If a package is listed as a dependency of another package in this file, then the direct reference may be removed. The project.assets.json for a project is located under ./artifacts/obj followed by the project name without extension. For example, the project.assets.json for Microsoft.ML.csproj is in ./artfiacts/obj/Microsoft.ML/project.assets.json.

Once done with this work, compare the libraries resolved before and after for every project.assets.json. The same libraries and versions should be restored after the change as were restored before the change.

Fixes #7479.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot finished work on behalf of ericstj June 11, 2025 20:21
@ericstj
Copy link
Member

ericstj commented Jun 11, 2025

Hold up on this, first need to fix the workflow.

@ericstj ericstj closed this Jun 11, 2025
@ericstj ericstj deleted the copilot/fix-7479 branch June 12, 2025 20:03
@github-actions github-actions bot locked and limited conversation to collaborators Jul 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convert this repository to central package management

2 participants