My application is in .net 3.5 its icon appears fine on the Windows 7 taskbar when I am running the application. But, when I pin my application to the taskbar, the icon dispappears and is replaced with the default windows "no icon" image. I tried making a 48 bit image for my .ico but that didn't solve the problem.
+2
A:
The icon you're seeing when the application is not pinned is the window's icon. When it's pinned, the application's icon is used instead. Go to the project's properties and set an icon in the Application tab (this should of course be the same icon used for the main window to avoid any confusion).
Francis Gagné
2010-07-09 06:18:49
You can click the (outlined) checkmark left of his answer to mark it as solved.
horsedrowner
2010-07-09 06:59:48
Welcome to Stack Overflow! Please note that this is not a forum, it's a Q/A site, so things here work slightly differently. To reply to someone's answer, add a comment on that answer instead of posting your reply as an answer.
Helen
2010-07-09 07:15:30
thanks, helen for the correction
jaminator
2010-07-15 14:34:27
A:
I just noticed: If you pin an app that is started from within visual studio the "empty" icon is used always, because the link is set to "AppName.vshost.exe" executable.
habakuk
2010-07-20 14:17:29