Images and Resources

On a whim yesterday, I added two image files to my VS .NET project: SomeImage.png and I set the Build Action to Embedded Resource on both files. Suprisingly, when I compiled the application, they were compiled in as resources - SomeImage.png ended up in the EXE and ended up in a satellite assembly. I don't know why this suprised me so much, but I found it to be quite cool. This may be an alternative to storing images within an ImageList control, which I've found hard to work with in a l10n application.

* Posted at 01.13.2005 01:39:47 PM CST | Link *

Blog History