-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Coherency fix #24973
Coherency fix #24973
Conversation
Hm, maybe we should go the ASP.NET way here (dotnet/aspnetcore#32484) and fix the version to |
It works with the removal too though. That wasn't the case for ASP.NET. Hm. What do you think about the current state of the PR @dotnet/efteam, @ViktorHofer, @dougbu? |
We need to make sure that we still get the 6.0.0 latest reference. @dougbu Can you advise here? |
@lukas-lansky @ajcvickers Based on the PR, it looks like the package was dead-ended and won't have a 6.0 version. |
@mmitche Then how do we pick up the latest code? I'm pretty sure that changes have gone in since we shipped 5.0. |
/cc @ericstj |
The library is exposed as part of the shared framework and is coming in by default when targeting a .NETCoreApp configuration. If the removal of the PackageReference works then this means that you don't need the library on any other configuration like .NETFramework or .NETStandard. Based on that the change looks good to me 👍 |
It wasn't originally part of the shared framework? When did it start being pulled in? If it is in the SDK, then we're fine. |
But also, if it's in the SDK, then we definitely should not be targeting the 5.0.0 version. |
Exactly, you should be fine with just removing the PackageReference. You would see a build error if there's another TFM that requires the package. |
Then I believe that it would come in implicitly via your dependency on the latest shared framework. |
Beat me to it! |
That's cool; didn't realize that change was made in 2.0. Had we known, then presumably we would have not referenced this as a package even before now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me and the CI checks all passed. Deferring to @ajcvickers for zee merge.
System.ComponentModel.Annotations is no longer produced by dotnet/runtime (dotnet/runtime#51891)