I am developing a small library that will be used in several applications. I would like to use some third-party libraries in my own library (e.g. log4Net, Entity Framework, etc.). I would suggest that I can either deploy the DLLs with my own library, or use ILMerge to create a single DLL (I know little about ILMerge never tried).
I am worried about what happens if the applications that consume my library also use the same third-party libraries that I will use. For example, if I use log4Net version 1.2, and the consumer application uses log4Net version 1.0, will I get some kind of conflict or only one version of the assembly will not be downloaded?
Does ILMerge prevent this? How is this usually resolved when developing a library with third-party dependencies?
source share