Reputation: 4601
I am wokring on a C# Win-Forms application. I have my own ClassLibrary (dll) file. I use another Third party dll for components. I use both of the above dll's in my C# application. When I provide the files I got to provide both the dll's seperately. Is it possible to add third party dll in my class library OR add both in a third dll and add only 1 dll in the project.
Also let me know how it is possible, as I am unaware with it. I use Visual Studio C#. Any help is highly appreciated.
Thanks
Upvotes: 0
Views: 2522
Reputation: 30117
See Merging .NET assemblies using ILMerge for how to merge two assemblies
You can download ILMerge utility provided by Microsoft from here
Upvotes: 1
Reputation: 978
you can merge the two libraries only if you have the source codes, then you can compile the two in one single assembly. other than that it might be well possible to merge the two assemblies but its gonna be a pain in the butt depending on each library. why bother? deploy both of 'em [:
Upvotes: -1
Reputation: 4939
Try looking up ILMerge; it's intended to build composite libraries.
Upvotes: 3