2013-06-12 12 views
6

Sto cercando di installare facebook C# SDK da NuGet Console nel mio Windows Phone 8 app, .NET Framework 4.0 Ma è dando un errore! Dettagli è dare seguito:Impossibile installare il pacchetto 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 

Se provo ad installare questo Installare-Pacchetto Facebook.Client -pre poi anche ottengo lo stesso errore !! Qualcuno mi può aiutare? Grazie in anticipo !!

risposta

5

Il problema è che il gestore pacchetti nuget non viene aggiornato. Si prega di aggiornare il gestore di nuget, riavviare e quindi riprovare. Dovrebbe funzionare bene.

+2

ha funzionato! Grazie ! – Mushfiq