Hi everyone
I'm "porting" an existing iOS game project to also include an Android version. We already have a working "lib" thats connects and communicates with the MongoDB database.
I have now created an Android version of the library. Everything compiles fine, but when i try to run (and the packaging is done), I get an error, regarding not being able to find "WindowsBase.dll" ?
Output :
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: Error: Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'WindowsBase.dll'
at Monodroid.Tuner.MonoDroidResolver.Resolve (Mono.Cecil.AssemblyNameReference reference, Mono.Cecil.ReaderParameters parameters) [0x00000] in <filename unknown>:0
at Monodroid.Tuner.MonoDroidResolver.Resolve (Mono.Cecil.AssemblyNameReference reference) [0x00000] in <filename unknown>:0
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences (System.Collections.Generic.List`1 assemblies, Mono.Cecil.AssemblyDefinition assembly) [0x00000] in <filename unknown>:0
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences (System.Collections.Generic.List`1 assemblies, Mono.Cecil.AssemblyDefinition assembly) [0x00000] in <filename unknown>:0
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences (System.Collections.Generic.List`1 assemblies, Mono.Cecil.AssemblyDefinition assembly) [0x00000] in <filename unknown>:0
at Xamarin.Android.Tasks.ResolveAssemblies.Execute () [0x00000] in <filename unknown>:0 (AndroidTestSlet)
I'm totally lost here ? Am I missing something or ? It seems like the problem could have something to do with the missing WindowsBase.dll, that i know the MongoDB-Driver is somehow referencing.
But as it works with the iOS version of the same drivers and I think I read somewhere, that MonoTouch and Mono for Android is based on the same profile, why isnt it working ?
I'm using the new Xamarin Studio 4.0 (build 2003) with Xamarin.Android Version: 4.6.0 (Business Edition).
Any help would just be fantastic ;-)
Thanks !! Kent Fonager, Denmark