0
我得到下面的异常,同时试图从浏览一个网页到另一个。WP8简单的页面导航失败
// Code to execute if a navigation fails
private void RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
{
if (Debugger.IsAttached)
{
// A navigation has failed; break into the debugger
Debugger.Break();
}
}
我的应用程序的结构如下
我尝试导航像这样
public MainPage()
{
InitializeComponent();
NavigationService.Navigate(new Uri("/Live.xaml", UriKind.Relative));
}
我到底做错了什么?