I have an issue in asp.net web API where when I add Signlr class I get. I can see in the references Microsoft.Owin
Could not load file or assembly 'Microsoft.Owin' or one of its dependencies. >The located assembly's manifest definition does not match the 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's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I suggest to check what you have in packages.config, web.config and packages folder. They all should link to the same package version. Quite often if you update version of some package via NuGet, there may raise compability issues. P.S. If it not help you may delete and istall OWIN again via NuGet.
It seemed like you confused with SignalR project development. Please read this article.
Try removing the dependency from project.json and build the solution and then add it back. Worked for me
User contributions licensed under CC BY-SA 3.0