dotnet / wpf

WPF is a .NET Core UI framework for building Windows desktop applications.
MIT License
7.02k stars 1.16k forks source link

I want you to change the taskbar icon display of the app from two to one display #9414

Open vsfeedback opened 1 month ago

vsfeedback commented 1 month ago

This issue has been moved from a ticket on Developer Community.


[regression] [worked-in: Behavior differs between .Net Framework 4.8 and .Net 7] I am creating an application that runs on Windows 11 OS. I'm creating a desktop WPF application in the .net 7 framework and creating an application that runs on the [Redacted] project.

1. "Pin this app to the taskbar" so that the icon of this app appears on the taskbar. 2. We will upgrade this app with the [Redacted] once mechanism. 3. When you launch this app, you will see a total of two icons on the taskbar: the icon you created in 1 and the icon of this app that you launched in 3.

Since it is the same application, it is enough to display one icon. The cause of this seems to be that when you "pin to taskbar" in 1, the link destination of ~.exe is specified. As a solution, it seems that it would be good if you could change the specification to link ~.appref-ms when "pinned to taskbar".


Original Comments

Feedback Bot on 11/3/2023, 01:45 PM:

(private comment, text removed)

miloush commented 1 month ago

Is there a repro project?