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

Cherry pick Fix unique ID #8971

Merged
merged 1 commit into from
Apr 17, 2020

Conversation

KevinRansom
Copy link
Member

Cherry picks the fix for:

Fixes: #8881, #8743, #8913

This occurred because when we load an assembly reference from a local dll we get it including the public key, but when it is an imported assembly ref, it contains just the pktoken. The code that we use to determine reference equality When writing the assembly was using the full PublicKey information, I.e PublicKey and PublicKeyToken. This resulted in references from imported assemblies not matching references from local assemblies.

Anyway the fix was fairly straightforward, always use the public key token for testing assembly equality,

@KevinRansom KevinRansom merged commit c965e12 into dotnet:release/dev16.6 Apr 17, 2020
@KevinRansom KevinRansom deleted the fix8881-dev16.6 branch June 3, 2020 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants