diff --git a/Dashboard/App.xaml.cs b/Dashboard/App.xaml.cs index 3e257435..1a17661f 100644 --- a/Dashboard/App.xaml.cs +++ b/Dashboard/App.xaml.cs @@ -65,6 +65,7 @@ protected override void OnExit(ExitEventArgs e) base.OnExit(e); } + private void OnUnhandledException(object sender, UnhandledExceptionEventArgs e) { var exception = e.ExceptionObject as Exception; diff --git a/Dashboard/Dashboard.csproj b/Dashboard/Dashboard.csproj index e1ecd936..9c3d2a7f 100644 --- a/Dashboard/Dashboard.csproj +++ b/Dashboard/Dashboard.csproj @@ -10,6 +10,7 @@ Darling Data, LLC Copyright © 2026 Darling Data, LLC EDD.ico + app.manifest true latest-recommended diff --git a/Dashboard/app.manifest b/Dashboard/app.manifest new file mode 100644 index 00000000..c70b1558 --- /dev/null +++ b/Dashboard/app.manifest @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + true + PerMonitorV2 + true + + + diff --git a/Lite/App.xaml.cs b/Lite/App.xaml.cs index 21dc418c..7171a8bf 100644 --- a/Lite/App.xaml.cs +++ b/Lite/App.xaml.cs @@ -103,6 +103,7 @@ public static void SaveSmtpPassword(string password) protected override void OnStartup(StartupEventArgs e) { + // Check for existing instance _singleInstanceMutex = new Mutex(true, MutexName, out bool isNewInstance); diff --git a/Lite/PerformanceMonitorLite.csproj b/Lite/PerformanceMonitorLite.csproj index e91aa06f..a058adb3 100644 --- a/Lite/PerformanceMonitorLite.csproj +++ b/Lite/PerformanceMonitorLite.csproj @@ -12,6 +12,7 @@ Copyright © 2026 Darling Data, LLC Lightweight SQL Server performance monitoring - no installation required on target servers EDD.ico + app.manifest true latest-recommended diff --git a/Lite/app.manifest b/Lite/app.manifest new file mode 100644 index 00000000..a3dc0922 --- /dev/null +++ b/Lite/app.manifest @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + true + PerMonitorV2 + true + + +