enter image description here

Added an icon in the project properties, after compilation the application displays a standard icon. The same icon works great in a WPF application.

What could be the problem?

  • And how did you add the icon? - SᴇM
  • Project -> Properties -> Icon and Manifest -> Overview -> Ok - zaki hatfild
  • What format is your icon? - SᴇM
  • Icon format ico - zaki hatfild
  • If you run not from the studio, the icon is also not displayed? - Monk

1 answer 1

Designer view -> click on the form -> Properties -> Icon -> click on [...] -> select the .ico format icon -> OK

UPDATE:

If you put it this way, then the form icon and the icon displayed in the taskbar will be the same. And if you put it through Project Properties -> Icon and Manifest, then after compilation the icon of the .exe file will change. ("Project Path" / bin / Debug (or Release))

  • It will only change the icon of the form, not the application - zaki hatfild
  • See, if you put it this way, then the form icon and the icon displayed in the taskbar will be the same. And through the properties of the project (Icon and manifest) - after compilation the icon of the .exe file will change. - SᴇM
  • @SeM add this to your answer and describe it in more detail - Vasily Barbashev