Tray Icon Visibility Setting Resets After WPF App Update

Christian 0 Reputation points
2023-03-28T08:53:00.44+00:00

I'm working on a .NET 6.0 WPF application with a tray icon (WinForms). After updating the app via ms-appinstaller, the tray icon's visibility setting in the Taskbar resets, moving it back to the hidden area. The package info (name, publisher, certificate, ProjectGuid) remains the same.

How can I prevent this behavior and maintain the icon's visibility setting across updates?

Thanks for any advice.

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,667 questions
{count} votes