加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

安装时安装Asp.Net SignalR错误

发布时间:2020-12-16 07:25:26 所属栏目:asp.Net 来源:网络整理
导读:我正在尝试在Visual Studio 2010专业项目中安装SignalR.但是我收到了这个错误: 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 p
我正在尝试在Visual Studio 2010专业项目中安装SignalR.但是我收到了这个错误:

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.

解决方法

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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读