Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

With xaml compilation turned on, why do I get this runtime exception (that doesn't happen when off)?

$
0
0

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?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>