Alex Rivera | Logout

C#'s equivalent of jar files?

Asked 2010-07-30T12:45:01.693
16

Java provides the jar file so that all the class files and jar files are merged into one file. Does C# provide equivalent/similar functionality?

Edit
Report

3 Answers

2

Not really, C# works with .dll and .lib. If you don't put everything in the same project (all source code), you won't be able to achieve what you probably want to do.

But with ILMerge, you can combine everything into 1 executable for easier distribution if you don't want to have a setup or a compressed file containing all the files needed..

answered 2010-07-30T12:50:40.153
1

yes C# provides dll

Dynamic-Link Libraries

answered 2010-07-30T12:48:22.483
1

No, an assembly AFAIK can not include referenced assemblies.

answered 2010-07-30T12:52:24.870

Your Answer