我想从安装的NuGet和Microsoft.AspNet.SignalR收到以下错误:
I am trying to install Microsoft.AspNet.SignalR from NuGet and get the following error:
Microsoft.Owin.Security 2.0.2。您正在尝试安装此 封装成一个项目,目标的.NETFramework,版本= 4.0版,但 包不包含任何程序集引用或内容文件 这是与该框架相兼容。欲了解更多信息,CONTA CT包的作者。
'Microsoft.Owin.Security 2.0.2'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, conta ct the package author.
有没有人遇到过这一点,并且知道解决的办法是什么呢?
Has anyone encountered this, and knows what the solution is?
推荐答案SignalR 2.0不支持.NET 4.0。无论是做的.NET中的升级,或者使用SignalR的1.x的版本。
SignalR 2.0 does not support 4.0. Either do a upgrade of or use a 1.x version of SignalR.
>Install-Package Microsoft.AspNet.SignalR -Version 1.1.3源
更多推荐
错误安装包Microsoft.AspNet.SignalR
发布评论