SignalR 2.0 error: Could not load file or assembly Microsoft.Owin.Security

前端 未结 9 566
失恋的感觉
失恋的感觉 2021-01-01 08:42

I\'m following this tutorial step by step

http://www.asp.net/signalr/overview/signalr-20/getting-started-with-signalr-20/tutorial-signalr-20-self-host

And I\

9条回答
  •  囚心锁ツ
    2021-01-01 09:03

    In my case, I had two projects:

    • MyProj.MvcWeb (an MVC application that referenced Microsoft.Owin.Security 3.0.0)
    • MyProj.Data.Entities (a class library that referenced Microsoft.Owin.Security 2.1.0; not sure how this happened)

    Upgrading Microsoft.Owin.Security from 2.1.0 to 3.0.0 in the MyProj.Data.Entities project fixed the issue for me.

提交回复
热议问题