Why do i always need to attribute a ContentView and Page with XamlCompilation.Compile? why it is not compiled by default?
You can activate xaml compilation at assembly level, so you don't have to set it in every page.
Hi Dirk, Thanks for your answer, I see that I can enable it per namespace, but still the question, why it is not the default behavior? or why do I want xaml that is not compiled if it is slow?
"XAML compilation is disabled by default to ensure backwards compatibility. It can be enabled at both the assembly and class level by adding the XamlCompilation attribute."
Taken from the docs, to which I am not yet allowed to link.
That sounds like there are no other downsides.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies