2013-06-12 9 views
6

Ich versuche # Facebook C sdk von NuGet Console in mein Windows Phone 8 App .NET Framework 4.0 Aber es gibt einen Fehler zu installieren! Details unter geben:Paket konnte nicht installiert Facebook 6.4.2

PM> Install-Package Facebook 
Successfully installed 'Facebook 6.4.2'. 
Successfully uninstalled 'Facebook 6.4.2'. 
Install failed. Rolling back... 
Install-Package : Could not install package 'Facebook 6.4.2'. You are trying to install this package into a project that 
targets 'WindowsPhone,Version=v8.0', but the package does not contain any assembly references that are compatible with that framework. For more information, contact the package author. 
At line:1 char:1 
+ Install-Package Facebook 
+ ~~~~~~~~~~~~~~~~~~~~~~~~ 
+ CategoryInfo   : NotSpecified: (:) [Install-Package], InvalidOperationException 
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand 

Wenn ich versuche, diese Install-Package Facebook.Client auch bekomme ich den gleichen Fehler dann -pre zu installieren !! Kann mir jemand helfen? Danke im Voraus !!

Antwort

5

Das Problem ist, dass der Paketmanager nuget nicht aktualisiert wird. Bitte aktualisieren Sie Ihren Nuget-Manager, starten Sie ihn neu und versuchen Sie es erneut. Es sollte gut funktionieren.

+2

funktioniert! Vielen Dank ! – Mushfiq

Verwandte Themen