How to add images to the embedded resource file at runtime?

Does anyone have a solution for this?

+5
source share
2 answers

This section (right above yours) will lead you to which will publish where you will find a hint for the ResourceWriter class .

+3
source

This is possible, see the CSharpCodeProvider class . Here is a tutorial on how it can be used to compile assemblies at runtime dynamically, now who, who adds image resources, but from what’s there, it’s easy to adapt the code to do what you ask.

Creating .NET assemblies at run time

+2
source

All Articles