Click on the ClickOnce dialog icon

For some reason, the icon displayed in the ClickOnce installation dialog box does not look like this:

SourceLog ClickOnce installing dialog icon issue

It should look something like this:

SourceLog icon 32x32

I have an icon in my Visual Studio solution with various "image types", but I'm not sure which one I need for the ClickOnce installation dialog.

+6
source share
1 answer

I ran into the same problem with a similar thematic icon consisting of a small symbol on a solid background. The solution is to select an unused color and use it for the lower left corner of the image, which the ClickOnce installer will use for transparency. In this case, and in the case of my image, the color that he collected was for the most part the image, so the result was shown above.


transparent
I found that I need to change the color of the lower left pixel in our icon so that it is a different color than the rest of the background so that the ClickOnce setup dialog box displays the image correctly. modified icon
The result is what we see below, it treats the black pixel as the color used for transparency.
corrected

+10
source

All Articles