In VS2010, open “Properties” for the main executable application and open the “Application” tab. Set the icon in the "Icon and manifest" section of the "Resources" section.
To see the icon during debugging under VS2010, you need to open the "Debugging" tab and uncheck the "Enable Visual Studio hosting process", otherwise you will see only the default icon for most windows.
I assume that the icon loading code is confused by the hosting process and is looking in "someapplication.vshost.exe" instead of "someapplication.exe" for the icons.
This seems like a fix in VS2013.
DaveCleland Feb 07 '14 at 19:12 2014-02-07 19:12
source share