How do I change the startup page on a WP7 Silverlight app?
I have added a new XAML page to my WP7 app and I need the application to startup on this ne开发者_开发技巧w page. How do I do that ?
I cannot find MainPage (which is the current / default start page) referenced anywhere in App.xaml or App.xaml.cs.
In WMAppManifest.xml you'll find the following.
<Tasks>
<DefaultTask Name="_default" NavigationPage="MainPage.xaml" />
</Tasks>
Change as appropriate.
精彩评论