Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 new 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.

like image 440
driis Avatar asked Oct 08 '10 15:10

driis


1 Answers

In WMAppManifest.xml you'll find the following.

<Tasks>   <DefaultTask Name="_default" NavigationPage="MainPage.xaml" /> </Tasks> 

Change as appropriate.

like image 187
Matt Lacey Avatar answered Oct 02 '22 04:10

Matt Lacey