I did a lot of trial & error since posting and came to the conclusion you
suggested. If I link just the SDK libs, the app behaves as expected and the
linker definitely doesn't like rest sharp and servicestack .
Stephan
On Sep 28, 2012 3:54 PM, "Jonathan Pryor-2 [via Mono for Android]" <
[email protected]> wrote:
> On Sep 28, 2012, at 3:58 AM, Stephan Steiner <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=5712003&i=0>>
> 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
> [hidden email] <http://user/SendEmail.jtp?type=node&node=5712003&i=1>
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://mono-for-android.1047100.n5.nabble.com/Contents-of-bin-Release-vs-contents-of-APK-tp5712000p5712003.html
> To unsubscribe from Contents of /bin/Release vs contents of APK, click
> here<http://mono-for-android.1047100.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5712000&code=c3RlcGhhbi5zdGVpbmVyQGdtYWlsLmNvbXw1NzEyMDAwfC0xNjMyOTU2NzQy>
> .
> NAML<http://mono-for-android.1047100.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Contents-of-bin-Release-vs-contents-of-APK-tp5712000p5712006.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid