WPF Icon Will Not Display After Installation

I have a WPF application with an icon. When I run the program using ctrl + F5 - it works great! The icon is displayed on the taskbar. Even if I installed it on my local computer on which I developed the application ... It still shows.

But when I install it on another computer, the icon does not appear on the taskbar or anywhere else.

Any ideas on this? Thanks.

+4
source share
1 answer

I'm going to assume that you did something in the following lines:

<Window Icon="/Resources/MyIcon.ico" ...> 

If this happens, be sure to go to the MyIcon.ico file and change the Set action to Resource .

0
source

Source: https://habr.com/ru/post/1347560/


All Articles