i want to create a master page with menu but when i using the code of this link then error is coming so my code is not working if anyone have any idea regarding this then please suggest me.
https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/navigation/master-detail-page/
error is coming in this code when i dubug the project.
namespace XamlTasks.MasterDetailPageNavigation {
[global::Xamarin.Forms.Xaml.XamlFilePathAttribute("/Users/admin/Projects/XamlTasks/XamlTasks/MasterDetailPageNavigation/MainPage.xam" +
"l")]
public partial class MainPage : global::Xamarin.Forms.MasterDetailPage {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Forms.Build.Tasks.XamlG", "0.0.0.0")]
private global::MasterDetailPageNavigation.MasterPage masterPage;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Forms.Build.Tasks.XamlG", "0.0.0.0")]
private void InitializeComponent() {
global::Xamarin.Forms.Xaml.Extensions.LoadFromXaml(this, typeof(MainPage));
masterPage = global::Xamarin.Forms.NameScopeExtensions.FindByName<global::MasterDetailPageNavigation.MasterPage>(this, "masterPage");
}
}
}