[mono-android] Issue with XmlSerializer
Atsushi Eno
atsushieno at veritas-vos-liberabit.com
Wed Jun 27 15:30:31 UTC 2012
Hello,
It is (likely) because of the "linker". Those unused types are excluded
from the resulting application for release build, to reduce the final
apk size.
For details:
http://docs.xamarin.com/android/advanced_topics/linking
Atsushi Eno
Pattt wrote:
> Hi,
>
> I'm using XmlSerializer to serialise my objects thru a stream.
>
> XmlSerializer xs = new XmlSerializer(this.GetType());
>
> This works perfectly in DEBUG mode,
> but in RELEASE mode, It throws a reflexion exception.
>
> Any idea?
>
> Patrick.
>
> --
> View this message in context: http://mono-for-android.1047100.n5.nabble.com/Issue-with-XmlSerializer-tp5710598.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>
>
More information about the Monodroid
mailing list