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));
}
我到底做錯了什麼?