[mono-android] Linker crashing "Failed to resolve System.Console setforegroundcolor"
Liam Houlahan
liamhoulahan at gmail.com
Thu Oct 4 20:33:40 UTC 2012
Hi Jon
Thanks. I got the source and tried compiling it and found that there was
code for system.console.setforegroundcolor so I figured it must be caused
by improvements to the linker.
Thanks for the help.
Liam
On Oct 5, 2012 8:08 AM, "Jonathan Pryor" <jonp at xamarin.com> wrote:
> On Oct 3, 2012, at 8:12 PM, Liam Houlahan <liamhoulahan at gmail.com> wrote:
> > The point I was trying to make when I said that I initially built this
> app using the initial versions of MonoDroid is that it used to work fine.
> The app is on Google Play right now. It is only since I am building the app
> with the newer version of MonoDroid that the linker no longer works.
>
> Which version of Mono for Android did you use to package your previous
> version? A lot has changed in the linker over the past year...
>
>
> http://docs.xamarin.com/android/Releases/Mono_For_Android_1/Mono_For_Android_1.9.0#Major_Highlights
>
> http://docs.xamarin.com/android/Releases/Mono_For_Android_1/Mono_For_Android_1.9.1#Changes_Since_Mono_for_Android_1.9.0
>
> The linker now does a better job at visiting all possible members are
> removing the ones that (it thinks) can't be used, resulting in smaller
> application sizes. However, this also results in a requirement that every
> type & member that is used by User Assemblies actually exist, and
> System.Console.ForegroundColor has _never_ existed in Mono for Android.
>
> - Jon
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20121005/8f061f39/attachment.html>
More information about the Monodroid
mailing list