Hi,
Im linking with « sdk and user assemblies », exactly as requested here:
http://docs.xamarin.com/android/tutorials/Preparing_Package_for_Android_Mark
etplace
Ill try to catch the stacktrace and copy it here.
Best
Patrick.
De : Jonathan Pryor-2 [via Mono for Android]
[mailto:ml-node+s1047100n5710609...@n5.nabble.com]
Envoyé : mercredi 27 juin 2012 18:27
À : Pattt
Objet : Re: Issue with XmlSerializer
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
[hidden email]
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/Issue-with-XmlSerializer-tp571
0598p5710609.html
To unsubscribe from Issue with XmlSerializer, click here
<http://mono-for-android.1047100.n5.nabble.com/template/NamlServlet.jtp?macr
o=unsubscribe_by_code&node=5710598&code=cGF0cmljay5yaWJhdWx0QGdtYWlsLmNvbXw1
NzEwNTk4fDEzOTY5MDI3MDQ=> .
<http://mono-for-android.1047100.n5.nabble.com/template/NamlServlet.jtp?macr
o=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namesp
aces.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.na
ml> NAML
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Issue-with-XmlSerializer-tp5710598p5710615.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid