icon.ico is a WPF <Resource> embedded in the assembly, but the code loaded it from the filesystem (AppContext.BaseDirectory) where no copy exists -> FileNotFoundException, silently swallowed by the catch -> blank tray icon. Load via pack:// resource stream instead. Also log the failure to Debug output instead of swallowing it silently. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| JournalBot.Service | ||
| JournalBot.Shared | ||
| JournalBot.Shared.Tests | ||
| JournalBot.Tray | ||
| .gitignore | ||
| JournalBot.slnx | ||