is there a difference in the way the icons are referenced in build and installed version ?
When i build from Visual Studio , The form icon does not have any white background , but after installation the form icon has a white background
All this while ,I was thinking in Installation the icons are picked from the exe, is that right ?
is there a difference in the way the icons are referenced in build and
Share
Icons are usually extracted from the exe. It is application that controls the icon used for its window when window (form) is created (and the icon can be changed during runtime). So it should use the same icon whether it was installed or it was just run after building.
Check the icon in an icon editor to make sure it has transparent pixels.
More details would also be great: is this a window icon, is this an icon in UI?
Update: You should use an icon editor to fill the background with transparent color. Visual Studio cannot edit 32 bit icons, but you can give it a try with editing that 8 bit one (make a backup copy in case VS spoils the 32 bit subimage). I used IcoFX editor, it used to be free but now it’s not.