need help in creating DLL with resources

Hi All,
I have windows project and have lot of windows forms and images in my project.

I dont know how to add images and resx files to DLL.

I would appreciate if anyone posts solutions to my question


Thanks


Answer this question

need help in creating DLL with resources

  • Mikael....

    To do this via the command line, use the C# compiler (csc.exe) with the /res option.

    http://msdn2.microsoft.com/en-us/library/c0tyye07

  • Eugene Pavlov

    I did that but I want to generate DLL from the command line and I want to add resx and images to DLL


    Thankd

  • Dan Heskett

    To add images and/or resx files to your compiled assembly, simply add them to your project and under Properties... Build Action... change it to "Embedded Resource". You can access the embedded resources in code via the System.Resources.ResourceManager class.

  • need help in creating DLL with resources