-
Notifications
You must be signed in to change notification settings - Fork 347
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
Improperly authored NuGet package: Microsoft.Identity.Client.NativeInterop #5019
Comments
Microsoft.Identity.Client.Broker depends on Microsoft.Identity.Client.NativeInterop package which has the msalruntime.dlls that you see in the screenshot. |
I know, the bug is that those native assemblies shouldn't get packed as content or contentFiles when I pack my own package |
I am not sure how this happens. Our nuspec file for nativeinterop is pretty standard. Can you tell us the impact of this issue? |
The impact is anyone who depends on Broker and packs their NuGet will silently ship incorrect NuGets that will break production. Please follow up with the NuGet team and show them this issue in case there are any doubts. This is very serious and I fear the team does not currently understand the implications. |
Hi, this is fixed in |
We can close this, thanks a lot! |
Microsoft.Identity.Client.NativeInterop
is a package that keeps giving us surprises in our build.Similar to this bug: #4832
There's another unwanted side-effect. When we add a package reference to
Microsoft.Identity.Client.Broker
and then build our project with /t:Pack so that it generates a nupkg, our nupkg ends up with three additional files in it:msalruntime.dll, msalruntime_arm64.dll and msalruntime_x86.dll
Sample .csproj:
The text was updated successfully, but these errors were encountered: