Most apps will use an App.xaml too, in this case, SingleInstanceManager has a tiny omission that will break most WPF applications - a call to InitializeComponent, method should read:
protected override bool OnStartup(Microsoft.VisualBasic.ApplicationServices.StartupEventArgs e)
{
// First time app is launched
app = new App();
app.InitializeComponent();
app.Run();
return false;
}
Without it, the app won't resolve resources.