我使用的是通过NuGet安装的SignalR 0.5.3,用于我的.NET 4.5Web应用程序-现在,由于我需要从SQL SERVER 2008R2推送数据(仅支持3.5版本的.NET框架),我需要使用SignalR .NET 3.5客户端创建库。
我在project website中看到可能有一个SignalR.Client.NET35版本,但(对github和NuGet都不是很熟悉)我不知道如何为我必须处理的库项目安装该客户端。我尝试使用std命令install-package SignalR.Client进行安装,但得到的消息是:
Install-Package : Could not install package 'SignalR.Client 0.5.3'.
You are trying to install this package into a project that targets
'.NETFramework,Version=v3.5', but the package does not contain any assembly
references that are compatible with that framework.
For more information, contact the package author.因此,看起来没有选择正确的.NET版本/开箱即用。
在打扰作者之前,我想在这里试一试。有什么建议吗?
发布于 2012-08-26 16:55:01
到目前为止,我们还没有将3.5客户端打包到包中。你需要从源代码开始构建。
发布于 2014-02-07 11:32:11
我将v1.x和v2.x SignalR客户端向后移植到NET 3.5。可在此处获得NuGet包:http://www.nuget.org/packages/Nivot.SignalR.Client.Net35/
https://stackoverflow.com/questions/12125061
复制相似问题