On Jul 29, 2011, at 6:34 AM, Gabriele Brosulo wrote: > Is it possible to compile a library that will work both on Android and > Iphone, without needing recompilation? If yes, how can I do it?
Yes. You can't use project references, though. Instead, directly reference the assembly. You also need to (manually) ensure that your shared library code doesn't reference monotouch.dll/Mono.Android.dll/OpenTK.dll (and any other platform-specific assemblies, but those are the biggies). There's a sample project at: http://www.jprl.com/tmp/ScratchMonoMobile.zip - Jon _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid