Xamarin Android app crashes in release mode (default constructor not found)

Viewed 997

I have a Xamarin app here that runs in debug mode without any problems, but in release mode it crashes instantly saying that a default constructor for one of my pages is missing.

Unhandled Exception:

System.MissingMethodException: Default constructor not found for type PraxisApp.MasterPage occurred

Does anyone have any suggestions why this happens in Release mode?

2 Answers

Try to add 'PraxisApp.MasterPage;' to your Ignore assemblies (ProjectSettings -> Android Build -> Linker)

Related