Here is my code snippet in a Xamarin xaml form:
<StackLayout Grid.Row="5" Orientation="Horizontal"> <Label Text="Gender" FontSize="Small" /> <RadioButton Text="Male"/> </StackLayout>
I have the following in my App constructor
public App() { InitializeComponent(); Device.SetFlags(new string[] { "RadioButton_Experimental" });
}
I get the following error:
System.TypeLoadException: 'Could not resolve type with token 0100009d from typeref (expected class 'Xamarin.Forms.RadioButton' in assembly 'Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null')'
I am using Xamarin Forms 4.8.0.1687 and Xamarin Essentials 1.5.3.2
Any and all help will be appreciated.