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 -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -