I am trying to install facebook C # sdk from the NuGet Console in my application Windows Phone 8 , .NET framework 4.0 But this gives an error! Details are given below:
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
If I try to install this Install-Package Facebook.Client -pre , then I also get the same error! Can anyone help me out? Thanks in advance!
source share