错误安装包Microsoft.AspNet.SignalR

编程入门 行业动态 更新时间:2024-10-26 08:29:16
本文介绍了错误安装包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 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

本文发布于:2023-11-12 07:44:24,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580911.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:安装包   错误   Microsoft   AspNet   SignalR

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!