Xamarin.Forms.Unity icon indicating copy to clipboard operation
Xamarin.Forms.Unity copied to clipboard

MarkupExtension not found for binding

Open sebas77 opened this issue 6 years ago • 1 comments

when I start the xamlPad example I get this. The other example works fine

XamlParseException: Position 6:3. MarkupExtension not found for Binding Xamarin.Forms.Xaml.ExpandMarkupsVisitor+MarkupExpansionParser.Parse (System.String match, System.String& remaining, System.IServiceProvider serviceProvider) (at Assets/Code/xaml/Xamarin.Forms.Unity/Xamarin.Forms/Xamarin.Forms.Xaml/ExpandMarkupsVisitor.cs:142) Xamarin.Forms.Xaml.ExpandMarkupsVisitor.ParseExpression (System.String& expression, System.Xml.IXmlNamespaceResolver nsResolver, System.Xml.IXmlLineInfo xmlLineInfo, Xamarin.Forms.Xaml.INode node, Xamarin.Forms.Xaml.INode parentNode) (at Assets/Code/xaml/Xamarin.Forms.Unity/Xamarin.Forms/Xamarin.Forms.Xaml/ExpandMarkupsVisitor.cs:93) Xamarin.Forms.Xaml.ExpandMarkupsVisitor.Visit (Xamarin.Forms.Xaml.MarkupNode markupnode, Xamarin.Forms.Xaml.INode parentNode) (at Assets/Code/xaml/Xamarin.Forms.Unity/Xamarin.Forms/Xamarin.Forms.Xaml/ExpandMarkupsVisitor.cs:52) Xamarin.Forms.Xaml.MarkupNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor visitor, Xamarin.Forms.Xaml.INode parentNode) (at Assets/Code/xaml/Xamarin.Forms.Unity/Xamarin.Forms/Xamarin.Forms.Xaml/XamlNode.cs:107) Xamarin.Forms.Xaml.RootNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor visitor, Xamarin.Forms.Xaml.INode parentNode) (at Assets/Code/xaml/Xamarin.Forms.Unity/Xamarin.Forms/Xamarin.Forms.Xaml/XamlNode.cs:201) Xamarin.Forms.Xaml.XamlLoader.Visit (Xamarin.Forms.Xaml.RootNode rootnode, Xamarin.Forms.Xaml.HydrationContext visitorContext) (at Assets/Code/xaml/Xamarin.Forms.Unity/Xamarin.Forms/Xamarin.Forms.Xaml/XamlLoader.cs:135) Xamarin.Forms.Xaml.XamlLoader.Load (System.Object view, System.String xaml) (at Assets/Code/xaml/Xamarin.Forms.Unity/Xamarin.Forms/Xamarin.Forms.Xaml/XamlLoader.cs:89) System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at :0) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at :0) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at :0) Xamarin.Forms.Platform.Unity.XamlLoader.LoadXaml (System.Object view, System.String xaml) (at Assets/Code/xaml/Xamarin.Forms.Unity/Xamarin.Forms.Platform.Unity/Scripts/XamlLoader.cs:17) XamlPad.XamlPadPage..ctor () (at Assets/XamlExample/Scripts/XamlPad/XamlPadPage.cs:16) XamlPad.App..ctor () (at Assets/XamlExample/Scripts/XamlPad/App.cs:9) System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) (at :0) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) (at :0) System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) (at :0) System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) (at :0) System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) (at :0) System.Activator.CreateInstance[T] () (at :0) Xamarin.Forms.Platform.Unity.UnityFormsApplicationActivity`1[T].Start () (at Assets/Code/xaml/Xamarin.Forms.Unity/Xamarin.Forms.Platform.Unity/Scripts/UnityFormsApplicationActivity.cs:110)

sebas77 avatar Jan 29 '19 17:01 sebas77

Sorry for the late reply. I updated to XF 4.0. Please try again with this.

aosoft avatar Jun 03 '19 14:06 aosoft