bitrave / azure-mobile-services-for-unity3d

A suite of Azure Mobile Services plugins for Unity3D, cross platform with common interfaces, with examples
Other
67 stars 34 forks source link

Windows Universal Apps #23

Open bigfi opened 9 years ago

bigfi commented 9 years ago

Hello,

I have a big issue when I try to build against Windows Universal app in Unity.

I use the AzureMobileServicesUniversalPlugin with JsonDotNet to connet to Azure. I made a simple leaderboard system. It works perfectly on the editor and on Android.

But I can't build a Universal app with it. If I don't change anything, the error message is that it finds conflicts between the 2 restsharp.dll. Méthodes are duplicated.

So I tried to remove the dll that is not in the WP8 folder. But this time, during the compilation, Unity said that it can't find any of the restsharp methods.

I found in another thread that we need to recompile restsharp for WP8 from the source. I did that but I still have a problem.

Can someone can help me to make a Universal app with this azure mobile service plugin?

Thank you

himgodfreyho commented 9 years ago

I also have the same problem. I can build to Windows Phone 8 after build the RestSharp using Visual Studio. But still I can't build to Windows Store App. I got hundreds of errors of:

Reference Rewriter: Error: type XXXXXX doesn't exist in target framework. It is referenced from RestSharp.dll at XXXXXXX

I would like to know if anyone can successfully build to Windows Store App? Thank you.

nklsrh commented 9 years ago

bump Can't build to Windows Phone thanks to this issue. Output:

ArgumentException: The Assembly RestSharp is referenced by Assembly-CSharp ('Library/ScriptAssemblies/Assembly-CSharp.dll'). But the dll is not allowed to be included or could not be found. UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary2 cache, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:160) UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:198) UnityEditor.HostView:OnGUI()