Search code examples
c#wpfapplication-icon

How to change the icon that will be displayed on taskbar


In my WPF I set the application icon like below. Project property -> Application tab -> Resources Icon and manifest enter image description here

So I can see this icon on the wpf windows. but the icon of taskbar is default icon. How can I set it with application icon.

Application icon

enter image description here

Taskbar icon

enter image description here


Solution

  • My project is the packaged application of WPF app. In Images folder of Windows Application Packaging App, there are several default images. enter image description here

    I replaced them with my custom images.

    enter image description here

    So that I could resolve the task bar icon problem.