So I have installed SignalR through Nuget and it is depending on Microsoft.Owin
which it then installed. Whenever I run my application it throws a FileLoadException
in the Startup.cs om the app.MapSignalR();
line. It says "File or assembly 'Microsoft.Owin, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies could not be loaded. The manifest definition of the found assembly do not match the reference of the assembly."
I am sure it includes the Microsoft.Owin.dll
but when I try to reinstall it through Nuget it says it could not reinstall the Microsoft.Owin.XML
Startup.cs
using Microsoft.Owin;
using Owin;
[assembly: OwinStartup(typeof(SignalRChat.Startup))]
namespace SignalRChat
{
public class Startup
{
public void Configuration(IAppBuilder app)
{
// Any connection or hub wire up and configuration should go here
app.MapSignalR();
}
}
}