question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FileLoadException after upgrading to 3.10.0 on project that uses IdentityServer4

See original GitHub issue

Hi after upgrading to 3.10.0 we see a System.IO.FileLoadException in a project that uses IdentityServer4 (2.2.0). It’s the following line, Client is from IdentityServer4.Models namespace.

Client client = new Client();

Dependencies:

Project A ==> IdentityServer4 (2.2.0) ==> IdentityModel (>= 3.6.1) Project A ==> Project B ==> IdentityModel (3.10.0)

Exception in dutch (sorry):

{"Kan bestand of assembly IdentityModel, Version=3.6.1.0, Culture=neutral, PublicKeyToken=null of een van de afhankelijkheden hiervan niet laden. De manifestdefinitie van de gevonden assembly komt niet overeen met de assembly-verwijzing. (Uitzondering van HRESULT: 0x80131040)":"IdentityModel, Version=3.6.1.0, Culture=neutral, PublicKeyToken=null"} System.IO.FileLoadException

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
leastprivilegecommented, Nov 13, 2018

I will update the handlers to use 3.10. I hope this solves all problems.

0reactions
github-actions[bot]commented, Feb 22, 2021

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

FileLoadException after upgrading to 3.10.0 on project that ...
IO.FileLoadException in a project that uses IdentityServer4 (2.2.0). It's the following line, Client is from IdentityServer4.Models namespace.
Read more >
TypeLoadException exception on signout after upgrading ...
I use IdentityServer4 for auth which gets installed with Asp.net core web project in visual studio 2019. After upgrading to asp.net 3.1, ...
Read more >
IdentityServer4 v4.1 to Duende IdentityServer v6
In your IdentityServer host project, update the version of the .NET framework. ... Anywhere IdentityServer4 was used as a namespace, replace it with...
Read more >
Setup and Overview — IdentityServer4 1.0.0 documentation
There are two fundamental ways to start a new IdentityServer project: start from scratch. start with the ASP.NET Identity template in Visual Studio....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found