Reputation: 393
In my WPF I set the application icon like below.
Project property -> Application tab -> Resources Icon and manifest
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
Taskbar icon
Upvotes: 0
Views: 2000
Reputation: 393
My project is the packaged application of WPF app.
In Images folder of Windows Application Packaging App, there are several default images.
I replaced them with my custom images.
So that I could resolve the task bar icon problem.
Upvotes: 0
Reputation: 87
Setting the icon via XAML:
<Window
...
Icon="nvicon.ico">
</Window>
Also be sure to build in release mode to double check your success, as there are some cases where a debug build does not apply icons (for reasons i do not know).
Upvotes: 0