.net – How to set the Taskbar Grouping Icon

groupingiconsnettaskbarwinforms

When my application opens too many windows the taskbar groups them into one button. Each window has its own icon, but the grouping icon is the default "unknown"-kind icon.

How can I set the grouping icon?

Best Answer

This comment from Raymond Chen indicates that the icon is coming from the exe itself, I would suggest using something like eXeScope to make sure that your application icon is being embedded properly, and maybe compare it with other exes that display proper behavior to do delta debugging.