Remove package pulled by SBRP (microsoft.win32.registry) #3525
Unanswered
JanKrivanek
asked this question in
Q&A
Replies: 1 comment 4 replies
-
@JanKrivanek - Where does the reference to Microsoft.Win32.Registry come from? I see it is conditioned out in Microsoft.Build.Framework and Microsoft.Build.Tasts for non-NetStandard configurations? Is this brought in transitively? All nuspec references in SBRP appear to be scoped to .NETStandard2.0 as well. I am trying to understand how the source-build is differing from the MSFT build. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question: How do I make sure that a specific package contained within source-build-reference-packages (in this case microsoft.win32.registry) is not being referenced by sourcebuild?
Background: I'm trying to subscribe MSBuild to latest updates of SRBP, the update (sample PR here: dotnet/msbuild#8893) is however blocked on conflicting types from microsoft.win32.registry. This package is only needed when building NETStandard. For Core and FullFW, the types are within mscorlib, hence the sourcelib fails with:
So the types from package needs to be somehow excluded.
Beta Was this translation helpful? Give feedback.
All reactions