*Solved* [UWP][XAML] Running MainPage.xaml in UWP project instead of MainPage.xaml in base project

  • Thread starter Thread starter nob0dy
  • Start date Start date
N

nob0dy

Guest
G'day,

I'm new to UWP development (have been doing WPF mainly) and have tried to create a project that works in UWP (windows 10) as well as Android. I was following the tutorial here: Use a SQL Server database in a UWP app - Windows UWP applications, and created the UWP app successfully using the Blank App (Universal Windows) VS project template.

I then tried to recreate the solution from scratch, but this time using a Mobile App (Xamarin.Forms) template. Using the code from the tutorial, I (re-)created the MainPage in the UWP project, and set the UWP project to be the startup project, but when it runs, I get the MainPage from the base project.

How do I tell VS to use the UWP MainPage when it runs?

Continue reading...
 
Back
Top