[mono-android] Strip AndroidLibraryProjects
Atsushi Eno
atsushieno at veritas-vos-liberabit.com
Tue Jun 26 19:07:37 UTC 2012
Hello,
You're right. MfA doesn't touch assemblies that are not indicated to
link. And the resource strip is done only when it is linked.
Atsushi Eno
Tsukrov Stanislav wrote:
> Thanks for your answer.
>
> I'm still observing another behaviour with 4.2.2.
> If I link "Sdk only", fat resources are there.
> "Sdk & user" strips everything properly.
>
>
> -----Original Message-----
> From: monodroid-bounces at lists.ximian.com
> [mailto:monodroid-bounces at lists.ximian.com] On Behalf Of Jonathan Pryor
> Sent: Dienstag, 26. Juni 2012 16:39
> To: Discussions related to Mono for Android
> Subject: Re: [mono-android] Strip AndroidLibraryProjects
>
> On Jun 26, 2012, at 8:18 AM, tsukrov wrote:
>> How can I strip AndroidLibraryProjects from the pure resource Java Binding
> Library assemblies?
>
> I don't believe that you need to worry about the duplication, as there isn't
> any actual duplication (iirc).
>
> Obviously this is something we need to document better (entirely?)...
>
> For Java Library Projects, Resources are "duplicated" in two places, as you
> noticed: within a directory, and as a resource within the assembly. This is
> so that you can deploy just the assembly instead of zipping up a directory
> structure for publishing bindings: provide a .dll, and the resources are
> automatically extracted. If you reference a project instead of the assembly,
> then the resources on-disk are used instead of re-extracting from the
> assembly.
>
> Either way, when packaging the application the resources will be _removed_
> from the assembly, so your final app will only have one copy of the
> resources: the aapt-generated copy. You don't need to separately strip them.
>
> Thanks,
> - Jon
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>
> _______________________________________________________________
> ChessBase Schachprogramme Schachdatenbank Verlagsgesellschaft mbH Sitz der Gesellschaft: Osterbekstraße 90a - 22083 Hamburg
> Telefon: 040-63 90 60 0 - Fax: 040 630 12 82
> GF: Matthias Wüllenweber und Rainer Woisin HR Amtsgericht Hamburg HRB 40336 UST-ID-Nr. DE 118644875 Finanzamt Hamburg-Nord - St.-Nr. 49/711/00031
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
More information about the Monodroid
mailing list