Environment:
Xamarin.Forms version: 2.0.0.6490
Visual Studio Community 2015 (w/ Update 1) on Win10 (32-bit)
Android Phone Version: 4.2,1
PCL project
Description:
The Xaml page (attached as text file) is just an example, from the book "Creating Mobile Apps with Xamarin.Forms".
Running it with the assembly level XamlC option set to Compile, throws the following error:
Unhandled Exception:
System.InvalidProgramException: Invalid IL code in CollectionViews.ListViewArrayPage:InitializeComponent (): IL_08bf: callvirt 0x0a000037
Resolution:
If you turn off XamlC, everything compiles and runs fine.