User783240086 posted
Project was working fine. Updated all the Owin and SignalR DLLs with Nuget and now I get this error when calling .MapSignalR() in the OwinConfig:
System.IO.FileLoadException occurred
HResult=0x80131040
Message=Could not load file or assembly 'Microsoft.Owin, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from
HRESULT: 0x80131040)
Source=Microsoft.AspNet.SignalR.Core
StackTrace:
at Owin.OwinExtensions.MapSignalR(IAppBuilder builder, String path, HubConfiguration configuration)
at Owin.OwinExtensions.MapSignalR(IAppBuilder builder, HubConfiguration configuration)
at Owin.OwinExtensions.MapSignalR(IAppBuilder builder)
at RRAutoLib.Remoting.OwinConfig.Configuration(IAppBuilder objApp) in D:\Dev\Projects\RRAuto\RRAutoLib\Remoting.vb:line 269
Inner Exception 1:
FileLoadException: Could not load file or assembly 'Microsoft.Owin, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from
HRESULT: 0x80131040)
Not sure why the outer error mentions v3.0.1.0 of the lib (which is the correct referenced version) while the inner exception mentions v2.1.0.0. There are no references to v2.1.0.0 in my project.