Bug 17203 - Release build will throw an unhandled exception unless we select "Linking: None"
Summary: Release build will throw an unhandled exception unless we select "Linking: None"
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 4.10.0.x
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Alex Rønne Petersen
Depends on:
Reported: 2014-01-13 11:59 UTC by Daniel
Modified: 2014-02-17 10:56 UTC (History)
6 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Daniel 2014-01-13 11:59:55 UTC
Generally the debugger catches this exception and shows no details, but once in a while it gives a stack trace that shows the MvvmCross "Create" methods being called.

I am guessing that the linker is removing too much code in some of the Cirrious.* objects.

We are referencing these:


When we set Linking: none, the app runs fine.   I see a request to file a bug report in this situation at http://docs.xamarin.com/guides/ios/advanced_topics/linker/  (does this request apply to Android too?)

Comment 1 Jonathan Pryor 2014-01-13 16:53:13 UTC
> does this request apply to Android too?


Could you please attach a repro project?
Comment 2 Daniel 2014-01-14 10:48:33 UTC
Would it be possible to send you the project in a private e-mail or some other non-public forum?
Comment 13 Rodrigo Kumpera 2014-02-17 10:56:27 UTC
Hi Daniel,

I looks like your problem was a wrong protobuf-net reference and not a linker issue on itself.

We're investigating into making error reporting here into something more actionable so the next time this happens it will be easier to diagnose and fix.