On Sep 28, 2012, at 3:58 AM, Stephan Steiner <[email protected]> wrote:
> When I create a release APK with linking settings "Sdk and User assemblies", 
> the list of generated / copied DLLS in /bin/Release differs from what's part 
> of the assemblies folder inside the apk.

If you look even more carefully, you'll notice that the assemblies that are 
copied are not the same size. They've been _linked_ to remove "unused" code (as 
determined by the linker):

        http://docs.xamarin.com/android/advanced_topics/linking

Using Reflection is a well-known way to confuse the linker. :-)

Furthermore, the linking process will remove assemblies that your app "isn't 
using" (again, as determined by the linker, which is befuddled by Reflection).

I would suggest trying to link only SDK assemblies, instead of linking both SDK 
& User assemblies. This will cause all _your_ assemblies to be preserved, 
unlinked, in your .apk.

 - Jon

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to