-1

I have an application that deploys smaller applications. Those smaller ones basically consist of an icon (not a form icon) and a notifyicon control that needs an icon as well.

My question is: How to embed resources in the small application and compile it using CodeDOM? I need the icon from the "bigger" application (the one that compiles) as they would have the same icons.

Thank you in advance!

osos95
  • 169
  • 1
  • 10
  • http://msdn.microsoft.com/en-us/library/system.codedom.compiler.compilerparameters.embeddedresources.aspx – Peter Ritchie Feb 05 '13 at 19:35
  • Well, thank you for your concern, but this is not what I need. I need to know how to ember files like *.ico not a *.resources file. – osos95 Feb 05 '13 at 19:52

1 Answers1

0

If what you are asking is how to embed resources in an assembly built with CodeDOM (which is the only thing it will do, w.r.t. resources) then see http://msdn.microsoft.com/en-us/library/system.codedom.compiler.compilerparameters.embeddedresources.aspx.

If what you are asking is how to create .resource files programmattically, this has nothing to do with CodeDOM (i.e. it's not code and not an executable). But, possibly http://msdn.microsoft.com/en-us/library/xbx3z216.aspx will point you in the right direction/

Peter Ritchie
  • 35,463
  • 9
  • 80
  • 98