Wie SignalR über NuGet installieren, Fehler beim hinzufügen von Microsoft.Web.Infrastruktur?

Versuche ich zu installieren Sie SignalR verwenden:

Install-Package Microsoft.AspNet.SignalR -pre

Ich erhalte eine Fehlermeldung, die besagt, dass Nuget hinzufügen kann Microsfot.Web.Infrastructure Referenz. Jemand eine Idee, warum das wäre? Unten ist die vollständige Ausgabe:

PM> Install-Package Microsoft.AspNet.SignalR -pre
Attempting to resolve dependency 'Microsoft.AspNet.SignalR.JS (≥ 1.0.0-rc1)'.
Attempting to resolve dependency 'jQuery (≥ 1.6.4)'.
Attempting to resolve dependency 'Microsoft.AspNet.SignalR.SystemWeb (≥ 1.0.0-rc1)'.
Attempting to resolve dependency 'Microsoft.AspNet.SignalR.Owin (≥ 1.0.0-rc1)'.
Attempting to resolve dependency 'Microsoft.AspNet.SignalR.Core (≥ 1.0.0-rc1)'.
Attempting to resolve dependency 'Newtonsoft.Json (≥ 4.5.4)'.
Attempting to resolve dependency 'Owin (≥ 1.0)'.
Attempting to resolve dependency 'Microsoft.Owin.Host.SystemWeb (≥ 1.0.0-rc1)'.
Attempting to resolve dependency 'Microsoft.Web.Infrastructure (≥ 1.0.0.0)'.
You are downloading Microsoft.AspNet.SignalR.Core from Microsoft, the license agreement to which is available at http://www.microsoft.com/web/webpi/eula/aspnet_and_web_tools_2012_EULA_ENU.htm. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
Successfully installed 'Microsoft.AspNet.SignalR.Core 1.0.0-rc1'.
Successfully installed 'Owin 1.0'.
You are downloading Microsoft.AspNet.SignalR.Owin from Microsoft, the license agreement to which is available at http://www.microsoft.com/web/webpi/eula/aspnet_and_web_tools_2012_EULA_ENU.htm. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
Successfully installed 'Microsoft.AspNet.SignalR.Owin 1.0.0-rc1'.
Successfully installed 'Microsoft.Web.Infrastructure 1.0.0.0'.
Successfully added 'Microsoft.AspNet.SignalR.Core 1.0.0-rc1' to OProject.
Successfully added 'Owin 1.0' to OProject.
Successfully added 'Microsoft.AspNet.SignalR.Owin 1.0.0-rc1' to OProject.
Value does not fall within the expected range.
Successfully uninstalled 'Microsoft.Web.Infrastructure 1.0.0.0'.
Successfully uninstalled 'Microsoft.AspNet.SignalR.Owin 1.0.0-rc1'.
Successfully uninstalled 'Owin 1.0'.
Successfully uninstalled 'Microsoft.AspNet.SignalR.Core 1.0.0-rc1'.
Install failed. Rolling back...
Install-Package : Failed to add reference to 'Microsoft.Web.Infrastructure'.
At line:1 char:16
+ Install-Package <<<<  Microsoft.AspNet.SignalR -pre
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
  • Gibt es eine genauere Fehlermeldung?
  • Siehe oben... habe ich noch die volle Leistung aus der Konsole.
  • deinstallieren Sie es, aktualisieren Sie die nuget-Paket und versuchen Sie es erneut
  • Es wurde nie installiert. Wenn Sie bemerken, die oben, es sagt, dass es zurückgesetzt wurde. Ich bin mir nicht sicher, was Sie bedeuten, die durch das update die NuGet-Paket.
  • Welche Art von Projekt installieren Sie es in?
  • Ich versuchte zu installieren, es zu einer vorhandenen web-site-Projekt .NET Web-Formulare.
  • Hi Leute. Ich bin immer ein ähnliches Problem, läuft VS2012, außer, dass meine Fehlermeldung ist: "install-package : Fehler beim hinzufügen Verweis auf 'Microsoft.Owin.Host.SystemWeb'. (Nebenbei, dies ist der zweite bizarro nuget-config-Fehler, den ich erlebt habe, in 2 Tagen. NuGet ist NotGreat).

InformationsquelleAutor jlrolin | 2013-01-14
Schreibe einen Kommentar