My problem is in navigating to another project file "ChatMeApp/MainPage.xaml" from my original project. My code is
private void GoToChat(object sender, EventArgs e)
{
this.NavigationService.Navigate(new Uri("/ChatMeApp;component MainPage.xaml", UriKind.RelativeOrAbsolute));
}
When I run this I get an exception in app.xaml.cs and it breaks here
// Code to execute if a navigation fails
private void RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
{
if (System.Diagnostics.Debugger.IsAttached)
{
// A navigation has failed; break into the debugger
System.Diagnostics.Debugger.Break();
}
}
I'm fairly new to WP8 development (coming from a c# background). All the advise I've seen makes me think this should work, can any one see a problem with it or suggest what else the problem might be.