21 references to Program
aspire-tray (21)
NativeSmokeHarness.cs (4)
135Program.Log($"Windows native smoke phase {_phase}."); 297Program.Log("Windows native smoke passed: every icon activation opens the flyout (left, right, keyboard with focus) and repeats keep it open, Ctrl+comma and the Settings view with isolated startup preferences, panel rows matching the view state, Dashboard and Documentation buttons, action list items with UI Automation and keyboard, original-case Copy path for live/pinned/recent rows, pin from the action list, unconfirmed Stop by click and UI Automation with stale-lifetime safety, inline missing-file removal and Clear, pin pruning, discovery icons, artwork invalidation, Explorer recovery, activation, terminal arguments."); 298Program.Log("Not covered by synthetic smoke: real per-monitor DPI transitions; verify these on the Windows desktop."); 308Program.Log("Windows native preview ready: fake AppHosts and in-memory preferences only. Exit in the panel to close it.");
TrayApplication.Actions.cs (1)
90Program.Log($"Tray action failed: {ex.Message}");
TrayApplication.cs (7)
81Program.Log(_callbackFailure.Message); 164Program.Log(message); 176Program.Log("Windows notification area is not ready. Retrying tray icon creation."); 199Program.Log(_callbackFailure.Message); 234Program.Log($"Shell_NotifyIconW(NIM_ADD) rejected the smoke icon: architecture={RuntimeInformation.ProcessArchitecture}, size={_iconData.Size}, attempt={_restoreAttempts + 1}."); 302Program.Log($"Native callback failed: {ex.Message}"); 470Program.Log($"{operation} failed during native cleanup.");
TrayApplication.Icons.cs (1)
27Program.Log("The notification icon needs to be restored.");
TrayApplication.NativeSmoke.cs (3)
31Program.Log($"C# NOTIFYICONDATAW architecture={RuntimeInformation.ProcessArchitecture} size={sizeof(NativeMethods.NotifyIconData)} " 37Program.Log($"C# stock icon NIM_ADD={added} flags=0x{data.Flags:x}."); 149Program.Log($"Preview captured to {path}.");
TrayApplication.Panel.cs (3)
87Program.Log("Windows kept the Aspire flyout in the background; it was closed again."); 387=> Program.Log($"Tray startup settings failed in the panel ({exception.GetType().Name}): {exception.Message}"); 992Program.Log($"Flyout callback failed: {ex.Message}");
TrayApplication.PanelAutomation.cs (2)
132Program.Log($"UI Automation structure notification failed (0x{result:X8})."); 248Program.Log($"UI Automation notification failed (0x{result:X8}).");