I have observed strange case. I build WPF app and I tried to change Window.Icon dynamically during runtime so that the icon is being changed in task bar (not only in window title). I change it programmatically by assigning ImageSource to Window.Icon property.
Normally it works as I expect, but when I create shortcut to this app under Windows (7) the icon is not being changed in the task bar and instead of this I see icon which comes from that shortcut. (in window title the icon changes independently)
Can anybody help to resolve it?