asp.net - 安装 Asp.Net SignalR 安装时出错

标签 asp.net .net .net-4.0 signalr nuget

我正在尝试在 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

关于asp.net - 安装 Asp.Net SignalR 安装时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28807273/

相关文章:

c# - 在 tableadapter 上执行自定义查询

c# - ComputeHash 调用莫名其妙地不同

.net - 如何从 ASP.NET 检测 .NET 4?

asp.net - Elasticsearch 和嵌套中聚合的多字段求和与乘

c# - .Sort(Function(x, y) -> 当没有要排序的内容时重新排列列表(即所有排序字段具有相同的值)

c# - OnActionExecuting 在标准 asp.NET 中等效吗?

.net - 对启用useLegacyV2RuntimeActivationPolicy的影响?

c# - 为什么我的 .NET 4 应用程序知道 .NET 4 没有安装

asp.net - 使用 VS2012 加密 Azure 的连接字符串

c# - 防止 ASP.NET Web 应用程序上的 SQL 注入(inject)