vendredi 27 février 2015

facebook sdk directX application windows Phone 8.1

I have working DirectX native windows phone game and I need to add facebook login support. I was trying to use facebook package (nuget package) from http://facebooksdk.net/ but it cannot be insyalling with error



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


Also I was trying to install package for C# class library. It is installed but there are very few classes and nothing that was mentioned in documentation.


What can I add facebook login support?


Aucun commentaire:

Enregistrer un commentaire