适用于unity3D WP8和METRO的Facebook插件



我尝试在我的WP8 Unity3D插件中使用 facebooksdk.net。Facebook.dll和Facebook.Client.dll以及它们的假货在正确的文件夹中,但发生错误。有什么办法可以解决它吗?

Error building Player: Exception: Failed to run assembly preprocessor with command line       "Temp/StagingArea/Data/ManagedFacebook.Client.dll" -injectCtor -assemblyPath "Temp/StagingArea" -pdb.[Temp/StagingArea/Data/ManagedFacebook.Client.dll]
No symbols for Temp/StagingArea/Data/ManagedFacebook.Client.dll
Injecting ctor
Error while in assembly preprocessor Temp/StagingArea/Data/ManagedFacebook.Client.dll
Object reference not set to an instance of an object.
at AssemblyPreprocessor.Utils.IsBaseType(TypeDefinition definition, String name)
at AssemblyPreprocessor.Utils.IsFromNamespace(TypeDefinition definition, String namezpace)
at AssemblyPreprocessor.ConstructorInjector.ShouldInject(TypeDefinition typeDefinition)
at AssemblyPreprocessor.ConstructorInjector.InjectConstructorsForTypesIn(ModuleDefinition moduleDefinition)
at AssemblyPreprocessor.Program.Main(String[] args)
Facebook.dll使用 .NET

Framework 4.5 库,Windows Phone 使用 Windows Phone 的 .NET API (http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207211(v=vs.105).aspx)。您无法将此 dll 导出到 WP8

最新更新