From a6a09f2f5bcc8a2708b4d3568747b71cf3903992 Mon Sep 17 00:00:00 2001 From: Erik Darling <2136037+erikdarlingdata@users.noreply.github.com> Date: Fri, 8 May 2026 10:15:21 -0500 Subject: [PATCH] Delete retired InstallerGui project directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The standalone InstallerGui was retired in #755 — its functionality folded into the Dashboard's Add Server dialog and the new Installer.Core shared library. The .sln no longer references it, but the source directory was left on disk. Cleaning that up: removes the dead source, eliminates a stray CS8604 warning that was only surfaced when building the project directly, and keeps the repo lean. CHANGELOG already documented the retirement; no docs changes needed. Co-Authored-By: Claude Opus 4.7 (1M context) --- InstallerGui/App.xaml | 55 -- InstallerGui/App.xaml.cs | 89 --- InstallerGui/EDD.ico | Bin 4286 -> 0 bytes InstallerGui/InstallerGui.csproj | 44 -- InstallerGui/MainWindow.xaml | 282 --------- InstallerGui/MainWindow.xaml.cs | 896 ----------------------------- InstallerGui/README.md | 7 - InstallerGui/Themes/DarkTheme.xaml | 337 ----------- InstallerGui/Utilities/Logger.cs | 62 -- 9 files changed, 1772 deletions(-) delete mode 100644 InstallerGui/App.xaml delete mode 100644 InstallerGui/App.xaml.cs delete mode 100644 InstallerGui/EDD.ico delete mode 100644 InstallerGui/InstallerGui.csproj delete mode 100644 InstallerGui/MainWindow.xaml delete mode 100644 InstallerGui/MainWindow.xaml.cs delete mode 100644 InstallerGui/README.md delete mode 100644 InstallerGui/Themes/DarkTheme.xaml delete mode 100644 InstallerGui/Utilities/Logger.cs diff --git a/InstallerGui/App.xaml b/InstallerGui/App.xaml deleted file mode 100644 index f28634d7..00000000 --- a/InstallerGui/App.xaml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/InstallerGui/App.xaml.cs b/InstallerGui/App.xaml.cs deleted file mode 100644 index 6ccc1a5a..00000000 --- a/InstallerGui/App.xaml.cs +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright (c) 2026 Erik Darling, Darling Data LLC - * - * This file is part of the SQL Server Performance Monitor. - * - * Licensed under the MIT License. See LICENSE file in the project root for full license information. - */ - -using System; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Threading; -using PerformanceMonitorInstallerGui.Utilities; - -namespace PerformanceMonitorInstallerGui -{ - public partial class App : Application - { - protected override void OnStartup(StartupEventArgs e) - { - base.OnStartup(e); - - Logger.LogToFile("App.OnStartup", "Application starting..."); - - /* - Register global exception handlers - */ - AppDomain.CurrentDomain.UnhandledException += OnUnhandledException; - DispatcherUnhandledException += OnDispatcherUnhandledException; - TaskScheduler.UnobservedTaskException += OnUnobservedTaskException; - } - - private void OnUnhandledException(object sender, UnhandledExceptionEventArgs e) - { - var exception = e.ExceptionObject as Exception; - if (exception != null) - { - Logger.LogToFile("OnUnhandledException", exception); - } - - if (e.IsTerminating) - { - MessageBox.Show( - $"A fatal error occurred and the application must close.\n\n" + - $"Error: {exception?.Message}\n\n" + - $"Inner: {exception?.InnerException?.Message}\n\n" + - $"Log file: {Logger.LogFilePath}", - "Fatal Error", - MessageBoxButton.OK, - MessageBoxImage.Error); - } - } - - private void OnDispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e) - { - Logger.LogToFile("OnDispatcherUnhandledException", e.Exception); - - e.Handled = true; - - MessageBox.Show( - $"An error occurred: {e.Exception.Message}\n\n" + - $"Inner: {e.Exception.InnerException?.Message}\n\n" + - $"Log file: {Logger.LogFilePath}", - "Error", - MessageBoxButton.OK, - MessageBoxImage.Error); - } - - private void OnUnobservedTaskException(object? sender, UnobservedTaskExceptionEventArgs e) - { - if (e.Exception != null) - { - Logger.LogToFile("OnUnobservedTaskException", e.Exception); - } - - e.SetObserved(); - - Dispatcher.Invoke(() => - { - MessageBox.Show( - $"A background task error occurred: {e.Exception?.InnerException?.Message ?? e.Exception?.Message}\n\n" + - $"Log file: {Logger.LogFilePath}", - "Background Error", - MessageBoxButton.OK, - MessageBoxImage.Warning); - }); - } - } -} diff --git a/InstallerGui/EDD.ico b/InstallerGui/EDD.ico deleted file mode 100644 index a7f07aa37290979f3446226b35c40f0e6641d993..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4286 zcmb_gdr*|u72g#nWMcm4WHKTt581#%hAEa>X#x(rRP8H$W$=}Rwi?k+5=|>2m;}o5 z7L=e70Wmc(RiolAF9qzjO7MjW4o^WMqRTE1L3u2zRtTrR^DURz7$9i)m>>7!`|drz z-?{hPbMA*sCdbd*xibDOJNyHgY_?1$^8)ZlrUv-Abm85TT;|fnvnsOu%G2L*qfNmM z6!zWdMV~t0=%%F(?_i7vF!M>cdCUO#japTC!+wAIEYg$y@uweJ5rS3#&tiZrD;;U` zvN^UIhoIvtAT4~U!%LfjXU}+C9aesI`K??PUHv?O_CutI$!i?-k10=uYsT$Mylsqu+FtPesE-{IGE=e3^smcs39(cBcF# zKE}e|7T-D+G{QP~E^@*=#5`1D{J3Kuwf7|a!bacaXwTcHLTjOcSOdpM%34=wn9Xq+ zF8WQ@+VXS!iTR(*e_?Ov`d;~9-A8YC=~oSlwfOgTUlEgKqTgig_u*%|_pj~o9=MX! z*_QV!X%4O(SV-IcI+xd>doo_}?os~u(fFH+|7_!4)1K!oS2L@-^s6O)-WRzVZz&E0 z$7Jod_*Yruf6Dxg+0Wf;%&xj~E?na0bvV7_C(;^B#>?-9TK_q7@X}^SqwePyc^t2Q z{3!qCWsauO>^Fk$HD-AVSQ;`t>yB@B$%yb9%X652CHRefmo+5f@cixtg#Fty9{>NE zbL=r@-uvqgSzYTy<;za-cnjK^~6+tzJSJ3q%i@wDV4$6!3rqUE2(#Cqz z`zv3NVv6|_*Lpk)UzG4g3wvJ=RHu@$;CGUZ)+2#*FzTi1uwVx_<~J3*`t-n+#6)Pc z2yVlvNGi`%Q&GHjcWrp_E#x41Tdqpptq%z?*QA*RcdI^3@~J@M zHd3HbG!`egC)_x^@EVWh8qD*bu-1#t9$ZH~ms99YWvbM+U)V|=6)DtTyNh_fdEGeX z+KZQsabxdUP$LuL{^InseYM#@7IMIg{~-0;n7p5e%7e9 z)?d!yU&Q%S^T`Mrs7WJp?MDDwz6biRBvJ3hXzKoQJ$00bvSXX#YSS$$>$@B)aSt}^rt^D$$=nZt)p;=rsXq3XEPe)K zb+BWy1?IBz`WFj_uOC`S%?AUJ8~mvr^#ywbdo{2Uz8(VBw`oK0k zU+BsY`pz?-0d=wWVwA+sF;jIQ82oNkz;l9sqV`0b!WCL?0d#1~T#8(7J@?t}|B1$m z=kSMapMG14S6=^?k_}WC>s}52pBH^5YNv_+Hs`j%x}DM-+^yP1WgiE07R4&OC*l>) zr-L7Hsppz-_k5&v&teT)O5YnknL6+9C*s{EJ)cbrKlUTmV8~eX2QpW08;ir1lJ)f$ z_WpuDVoZ2M7R8pvEFaXvZ|qqiXgc^U`XzF3^Le?K zYa{1rt`)o&Msrdt+Dz1urKqERc&-FI7)=FhR3{R=Oy4K|*_W<@pr>$Neh(V@c^-^~ zzn9_xHPKebL+I!OZ#!UOAYXOf)Q1iKH{I`v_n(-{?!q8@d^?1IzX=%OnBIFh5f0tn1dN6o!SdIb1O7_1q=b! zJPtivOGKXMv#f;Cyw5eE2;Y4C4f;6wXFOfdF%vpGz#R%L`>{vsaDNx~qNa@7^11eW z<^tOJuA+R)$~j{-Zafb0j5IP=z#gyzm1|@qACZqihI - - - WinExe - net8.0-windows - enable - true - PerformanceMonitorInstallerGui - PerformanceMonitorInstallerGui - SQL Server Performance Monitor Installer - 2.4.1 - 2.4.1.0 - 2.4.1.0 - 2.4.1 - Darling Data, LLC - Copyright © 2026 Darling Data, LLC - EDD.ico - win-x64 - true - true - true - false - true - true - latest-recommended - CA1849;CA2007;CA1508;CA1031;CA1001;CA1822;CA1305;CA2100;CA1002;CA1845;CA1861;CA2234;CA1062;CA1823 - - - - - - - - - - - - - - PreserveNewest - - - - diff --git a/InstallerGui/MainWindow.xaml b/InstallerGui/MainWindow.xaml deleted file mode 100644 index 1e428e38..00000000 --- a/InstallerGui/MainWindow.xaml +++ /dev/null @@ -1,282 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -