Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GlobalPackageReference for Microsoft.NETFramework.ReferenceAssemblies #2622

Closed
wants to merge 1 commit into from

Conversation

WeihanLi
Copy link
Contributor

@WeihanLi WeihanLi commented Dec 21, 2023

use GlobalPackageReference since it's for all projects and PrivateAssets="All"

https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management#global-package-references

@mgravell
Copy link
Collaborator

Not sure I see the benefit of this - it doesn't reduce any duplication, and the existing code is perfectly clear. It seems to be a change for change's sake?

@WeihanLi
Copy link
Contributor Author

WeihanLi commented Dec 21, 2023

We can have version and reference defined in one place, without splitting into two places

@mgravell
Copy link
Collaborator

We can have version and reference defined in one place, without splitting into two places

Which is how literally every other reference works. I'm not sure I see the benefit of changing it, honestly, other than "just because"

@WeihanLi
Copy link
Contributor Author

I'm fine with it either way, thanks for the opinion

@WeihanLi WeihanLi closed this Dec 21, 2023
@WeihanLi WeihanLi deleted the patch-1 branch March 14, 2024 05:15
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.

2 participants