安装时安装Asp.Net SignalR错误 [英] Installing Asp.Net SignalR error while installing

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

问题描述

我正在尝试在Visual Studio 2010专业项目中安装SignalR。但是我收到此错误:

I am trying to install SignalR in Visual Studio 2010 professional project. But I am getting this error:

 Could not install package 'Microsoft.Owin.Security 2.1.0'. 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. F
or more information, contact the package author.


推荐答案

尝试使用此命令安装不同版本的signal r (通过nuget软件包控制台) install-package Microsoft.AspNet.SignalR -Version 1.1.3。最新版本的Signalr需要.net4.5

Try installing a different version of signal r with this command (via nuget package console) 'install-package Microsoft.AspNet.SignalR -Version 1.1.3'. Latest version of signalr requires .net4.5

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

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