Hopefully this won’t be an issue forever, but still
Sometimes things just blow up.
If you have recently attempted to create a new ASP.NET MVC5 project (or any new Web Project within Visual Studio 2013) and decided that you wanted some of that sweet SignalR magic in your application, then you may have encountered the following error :
An exception of type ‘System.IO.FileLoadException’ occurred in Microsoft.AspNet.SignalR.Core.dll but was not handled in user code.
Additional information: Could not load file or assembly ‘Microsoft.Owin, Version=126.96.36.199, 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)
This can easily be reproduced through the following steps :
- Create a new Web Application Project in Visual Studio 2013 that uses built-in Forms Authentication (Individual User Accounts).
- Add the SignalR package through NuGet.
- Attempt to add the following code to your Startup.cs file :
View original post 499 more words