I am probably missing something small but...I am stuck. I am attempting to do basically the same thing you have in your RegionManagement quickstart - when the application loads I was to show the debug logger and a login. My problem is that in my MainPage.xaml.cs
when the OnImportsSatisified is fired, there is nothing listening for ViewNavigationArgs events - so when I tell it to navigate to those views nothing happens. This behavior changes once the app is fully loaded up, I can then use buttons to do it and
it works fine.
So, stepping through my project vs your quickstart I can see that your MainPage.xaml.cs constructor is getting fired at a completely different time then mine.
My constructor gets triggered in ApplicationServices.cs, StartService, where it says CompositionInitializer.SatisfyImports(this). So my constructor fires and right after the OnSatisfyImports fires, at which point there is nothing listen.
Your constructor gets triggered in ApplicationServices.cs, Starting, where it says Application.Current.RootVisual = viewInfo.Value.
I have tried to find the differences in our projects and what I am missing but I am at a loss. Can you help me figure this out?