Tried example for set icon in ClickOnce installation, but get no progress. In publish->Options->File Associations set extension for .application and selected my icon. Maybe i looking for wrong way to set icon, but my app.appref-ms still have default icon.
Asked
Active
Viewed 2,340 times
2 Answers
4
Context menu on project-> Properties -> Tab Application -> TextBox Icon

Tom Henn
- 125
- 6
-
This is set icon for application .exe, but i need to set icon for ClickOnce .appref-ms – nobody.price Jun 15 '18 at 09:51
-
@Archi.Moore Check the resolution of the icon. It is 256x256? What is the OS version? – kennyzx Jun 15 '18 at 09:58
-
1@kennyzx Our resolution is 32x32 pixel. – Tom Henn Jun 15 '18 at 10:00
-
Actually setting this icon also sets the .appref-ms icon. And I just try a 32x32 ico with a new Windows Forms project on win10, it is working fine. – kennyzx Jun 15 '18 at 10:12
-
Yes, u was right. I got icon size 48x48. When i changed size for 32x32 it started work. Thanks soo much. – nobody.price Jun 15 '18 at 11:30
0
Have you tried reinstalling the app, source: ClickOnce start menu icon. There are many solutions provided by the contributers of the aforementioned source, some indicating that it might be in the size of the icon.ico file or that the file wasn't marked included prior to the deployment. Hopefully you'll find your answer there.

Iliass Nassibane
- 651
- 7
- 15
-
Yes, i tried all variants that found in google, but didt get correct. – nobody.price Jun 15 '18 at 09:52
-
Have you by any chance checked this Stackoverflow page: https://stackoverflow.com/questions/152188/can-i-create-a-desktop-icon-for-a-clickonce-application. There is a mention of having to add a bit of code to accomplish an icon change for the ClickOnce app's appref-ms – Iliass Nassibane Jun 15 '18 at 10:04