Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help on DLL packageing please....

Status
Not open for further replies.

ananthrr

Technical User
Feb 28, 2006
17
GB
Hello guys,

could someone tell me how to package few files into a dll file, i figured it out how to do it in the command line, for example, the command below uses the command line compiler,

csc /res:Code.dll /res:Bitmap.gif /res:Data.xml /out:Update2.dll
/t:library

this command packages bitmap.gif, code.dll and data.xml into the update2.dll

Could someone tell me how to do this in C#, programmatically.

And it would also be helpful if you could provide me with some weblinks, on how to access the file and handle them in a folder programatically in c#. Thank you guys in advace.

Regards,

Ananth.
 
In Visual Studio, you just create a project of type Class Library.

From the command line, you just call CSC.EXE like you did, only include your .cs files on the line as well.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top