Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Xamarin.Forms.Xaml.XamlParseException: Position 5:4. Cannot assign property "Content": type mismatch between "Xamarin.Forms.DataTemplate" and "Xamarin.Forms.View"
at at Xamarin.Forms.Xaml.ApplyPropertiesVisitor.SetPropertyValue (object,Xamarin.Forms.Xaml.XmlName,object,Xamarin.Forms.BindableObject,Xamarin.Forms.Xaml.INode,Xamarin.Forms.Xaml.HydratationContext,System.Xml.IXmlLineInfo) <IL 0x0052a, 0x023bc>
at at Xamarin.Forms.Xaml.ApplyPropertiesVisitor.Visit (Xamarin.Forms.Xaml.ElementNode,Xamarin.Forms.Xaml.INode) <IL 0x0038d, 0x01e2f>
at at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode) <IL 0x00093, 0x00623>
at at Xamarin.Forms.Xaml.RootNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor,Xamarin.Forms.Xaml.INode) <IL 0x0006a, 0x004c3>
at at Xamarin.Forms.Xaml.XamlLoader.Load (Xamarin.Forms.BindableObject,string) <IL 0x000bf, 0x00543>
at at Xamarin.Forms.Xaml.XamlLoader.Load (Xamarin.Forms.BindableObject,System.Type) <IL 0x0002d, 0x00153>
at at Xamarin.Forms.Xaml.Extensions.LoadFromXaml<App30.Page1> (App30.Page1,System.Type) <0x0004f>
at App30.Page1.InitializeComponent () [0x00001] in c:\Users\AbhishekK\Documents\Visual Studio 2013\Projects\App30\App30\App30\obj\Debug\Page1.xaml.g.cs:20
at App30.Page1..ctor () [0x00008] in c:\Users\AbhishekK\Documents\Visual Studio 2013\Projects\App30\App30\App30\Page1.xaml.cs:15
at App30.App..ctor () [0x00008] in c:\Users\AbhishekK\Documents\Visual Studio 2013\Projects\App30\App30\App30\App.cs:15
at App30.Droid.MainActivity.OnCreate (Android.OS.Bundle) [0x00011] in c:\Users\AbhishekK\Documents\Visual Studio 2013\Projects\App30\App30\App30.Droid\MainActivity.cs:20
at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.21-series/49a04b96/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.App.Activity.cs:2380
at at (wrapper dynamic-method) object.10438a22-8d5b-47de-8a08-7c88bf72ae07 (intptr,intptr,intptr) <IL 0x00017, 0x00043>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.