How about using this in yours Application_Startupeven in App.Xaml.cs: -
private void Application_Startup(object sender, StartupEventArgs e)
{
if (IsRunningOutOfBrowser)
{
this.RootVisual = new MainPage();
}
else
{
this.RootVisual = new PleaseRunOOB():
}
}
Now create a very simple UserControl called PleaseRunOOBto provide the neeed user to install and / or run the OOB version of the application.
source
share