Unable to load assembly for Microsoft.Owin.

I have a problem in the asp.net web frontend where I add the Signlr class I am getting. I see in linksMicrosoft.Owin

Could not load file or assembly 'Microsoft.Owin' or one of its dependencies. > Installed Assembly Manifest Definition does not match assembly reference. (Exception from HRESULT: 0x80131040)

Exception Details: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Owin' or one of its dependencies. The located assembly manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

+3


source to share


3 answers


You seemed to be confused with the SignalR project development. Read this article.



0


source


I suggest checking what you have in packages.config, web.config and packages folder. They must all link to the same version of the package. Quite often, if you update a version of a package via NuGet, there may be compatibility issues. Postscript If that doesn't work, you can uninstall and re-enable OWIN via NuGet.



+2


source


Try to remove the dependency from project.json and build the solution, then add it back. Worked for me

0


source







All Articles