错误安装包Microsoft.AspNet.SignalR [英] error in installing Package Microsoft.AspNet.SignalR

查看:510
本文介绍了错误安装包Microsoft.AspNet.SignalR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从安装的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 .net 4.0. Either do a upgrade of .net or use a 1.x version of SignalR.

>Install-Package Microsoft.AspNet.SignalR -Version 1.1.3

这篇关于错误安装包Microsoft.AspNet.SignalR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆