I turned on XAML compilation in my project. I needed to create a couple type converters to get the compilation to pass. Now, at runtime, while running InitializeComponent() for the first page, I get this exception:
"System.BadImageFormatException: Method with open type while not compiling gshared"
I get this exception for both android and iOS. With Xaml compilation turned off, the application runs fine (without making any other code changes). I haven't been able to find examples of this exception anywhere else. Could someone please help point me in the right direction for how to correct this?