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

Unable to load type after upgrade to 4.0 #245

Closed
joshmouch opened this issue Sep 10, 2019 · 2 comments
Closed

Unable to load type after upgrade to 4.0 #245

joshmouch opened this issue Sep 10, 2019 · 2 comments
Labels

Comments

@joshmouch
Copy link

After upgrading to IdentityModel version 4.0.0, I started getting the following exception:

System.Reflection.ReflectionTypeLoadException: 'Unable to load one or more of the requested types.
Could not load type 'IdentityModel.Client.IntrospectionResponse' from assembly 'IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=e7877f4675df049f'.
Could not load type 'IdentityModel.Client.IntrospectionResponse' from assembly 'IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=e7877f4675df049f'.
Could not load type 'IdentityModel.Client.DiscoveryResponse' from assembly 'IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=e7877f4675df049f'.'

This is referenced by a .Net Standard 2.0 library, which is used by a .Net Core 2.2 test project.

@leastprivilege
Copy link
Contributor

4.0 is a breaking change to 3.x - so either update the caller or stay on 3.x

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants