I am writing an extension (dll) for a 3rd party program. The main program is using log4net version 1.2.10. I want to use LinqToExcel to read Excel files, which also depends on a newer version of log4net.
When I use the log4net.dll from the main executable I get an System.BadImageFormatException
when using the extension.
When I replace the log4net.dll with the newer version from LinqToExcel I get an System.NullReferenceException
from the main program.
Is there a way to get this to work, or do I have to use an other way to read Excel files?
WORKAROUND: I did remove all logging from LinqToExcel and did rebuild it without the log4net reference.