Search code examples
c#wpfwpf-controls

Icon does not appear in Windows Taskbar


I work on WPF application and I finishing it, but I notice that when I run the application, the application Icon does no appear in Windows task bar ?

enter image description here

Although I assigned icon for my application in application properties.

Any idea ?

Thanks in advance Abdusalam


Solution

  • You need to assign the specific window an icon in your XAML or code behind for an icon to show when debugging.

    <Window
        Icon="icon.ico"
    </Window>