c# - Icon displayed by windows 7 changes to default icon if executable is moved -


my c# window 7 winforms program displays custom icon when run visual studio output directory.

when move executable desktop , run it, default windows winforms icon displayed.

how windows display correct icon when executable moved?

your icons should stored in folder in solution (best 'solution\resources\images\x.extension') , added visual studio ide (he creates reference). when deploy application, should give user shortcut of executable. here secret.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

javascript - Bootstrap Popover: iOS Safari strange behaviour -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -