Unknown member: LoadFromXaml

I have this error in the application execution.

namespace MyOrders.Pages {

using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;

public partial class MasterPage : global::Xamarin.Forms.MasterDetailPage {

    [System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Forms.Build.Tasks.XamlG", "0.0.0.0")]
    private global::Xamarin.Forms.NavigationPage Navigator;

    [System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Forms.Build.Tasks.XamlG", "0.0.0.0")]
    private void InitializeComponent() {
        this.LoadFromXaml(typeof(MasterPage));
        Navigator = this.FindByName<global::Xamarin.Forms.NavigationPage>("Navigator");
    }
}

}

Tagged:

Posts

Sign In or Register to comment.