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

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -