In a new Universalapp, I added a page under the shared project, The new page name is Initpage.xaml, and now I want to use Initpage.xaml as the start page, but the settings for setting the startup page are not found in the configuration file, the following is the solution I found.
Open App.xaml.cs
This code can be found in the App.xaml.cs file.
The statement identified by the Red Line can be known, the Red line is identified by the statement is the app loading the first page into the Start page, the default is MainPage, Navigate to MainPage.xaml, and now I want to make Initpage.xaml as the boot interface, so I should replace "MainPage" with the corresponding class of Initpage.xaml page.
Note: the page name corresponding to the general new page is the corresponding class, but if you change the name of the page, the corresponding class will not change, if you are not sure of the corresponding class, you can open the code page is Xaml.cs file view.
Opens the InitPage.xaml.cs file and sees the following
The red circle is the class name corresponding to the page, so replace the "MainPage" in the App.xaml.cs file with "Initpage" to implement the Initpage.xaml page as the startup page.
Universalapp Start Page Setup