On Jun 27, 2012, at 6:25 AM, Pattt wrote:
> 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.

Do you have LinkSdkOnly set? Or Link everything?

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

Linking everything may remove some of your members. It's also possible that 
there's a linker bug and we're removing XML serialization code when we 
shouldn't be.

Do you have a full stack trace for when it throws the exception?

Thanks,
 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to