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

Compiled XAML - Exception thrown with AbsoluteLayout containing AutoSize children

$
0
0

After enabling XAML compilation, I get the following exception when I load a page that contains an AboluteLayout with children whose LayoutBounds use AutoSize:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Cannot convert "0, 0, 1, AutoSize" into Xamarin.Forms.Rectangle

The exception isn't thrown when XAML compilation is not enabled. I also don't get any errors at compile time.

Is there something I'm missing? Any ideas are appreciated!


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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