title: Use LinqToExcel in dll, when main executable uses old log4net version
body: <p>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.</p>
  
  <p>When I use the log4net.dll from the main executable I get an <code>System.BadImageFormatException</code> when using the extension. </p>
  
  <p>When I replace the log4net.dll with the newer version from LinqToExcel I get an <code>System.NullReferenceException</code> from the main program.</p>
  
  <p>Is there a way to get this to work, or do I have to use an other way to read Excel files?</p>
  
  <p><strong>WORKAROUND:</strong> I did remove all logging from LinqToExcel and did rebuild it without the log4net reference. </p>