我当前的项目是一个空白的项目,我在其中复制了Visual Studio示例的页面和类,因为我试图了解其中的所有内容。现在启动Xamarin项目时,值不能为空
,我的项目被编译,但是当我运行它,我得到
System.ArgumentNullException:值不能为空。参数名:在Xamarin.Forms.Platform.UWP.Platform.SetPage(页 newRoot)维持在MyApp.UWP.MainPage..ctor Xamarin.Forms.Platform.UWP.WindowsBasePage.LoadApplication(应用 应用程序)( newRoot )在 MyApp.UWP.MyApp_UWP_XamlTypeInfo.XamlTypeInfoProvider.Activate_4_MainPage() 在MyApp.UWP.MyApp_UWP_XamlTypeInfo.XamlUserType.ActivateInstance()
在Windows.UI.Xaml.Controls.Frame.Navigate(类型sourcePageType,对象 参数)在MyApp.UWP.App.OnLaunched(LaunchActivatedEventArgs e)
我想了解这里来的fr om并纠正它。