2013-01-20 31 views
-1

我试图通过的NuGetSignalR在Windows Store应用

Install-Package Microsoft.AspNet.SignalR -pre 

在一个空白的Windows商店应用安装SignalR但我得到这个错误信息:

Install-Package : Could not install package 'Microsoft.AspNet.SignalR.Core 1.0.0-rc2'. You are trying to install this package into a 
project that targets '.NETCore,Version=v4.5', but the package does not contain any assembly references that are compatible with that 
framework. For more information, contact the package author. 

如何在安装SignalR Windows Store应用程序?

+0

我感到很遗憾,你有一个错误。 – GameScripting

+0

这是用于.NET应用程序还是WinJS应用程序?我想知道如何在WinJS应用程序中使用SignalR。 –

回答

0

您需要安装signalr客户端的Windows Store应用程序。你可以通过安装下列软件包来完成安装 - 打包Microsoft.AspNet.SignalR.Client -pre将安装