title: Log4net.dll + C# + Crystal Reports = error
body: <p>Forgive me if it has been answered before but I searched the web and found only desperate people asking exactly my question but nobody giving any answer which I could use.</p>
  
  <p>I'm developing an application in C# Visual Studio 2010 which uses Crystal Reports. I'm developing it on 32 bit system. Everything works okay.</p>
  
  <p>Now I'm trying to run it on another computer which is 64 bit system has Crystal Reports installed and some terrible error happens.</p>
  
  <pre><code>************** Tekst wyjątku **************
  System.TypeInitializationException: Inicjator typów zgłosił wyjątek dla typu
   'CrystalDecisions.ReportSource.ReportSourceFactory'. ---&gt; System.TypeInitializationException:
   Inicjator typów zgłosił wyjątek dla typu 'CrystalDecisions.Shared.SharedUtils'. ---&gt;
   System.IO.FileLoadException: Nie można załadować pliku lub zestawu 
  
  'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' lub jednej z jego zależności.
  </code></pre>
  
  <p>Forgive me some Polish language there. It basically means that it cannot find some specific version of log4net.dll file which apparently must be used by something.</p>
  
  <p>This problem was described in many places:</p>
  
  <p><a href="https://stackoverflow.com/questions/7099068/log4net-not-logging-and-throwing-error">log4net not logging and throwing error</a></p>
  
  <p><a href="http://scn.sap.com/thread/1857957" rel="noreferrer">http://scn.sap.com/thread/1857957</a></p>
  
  <p>I understand that my application uses/expects some version of this file and Crystal Reports installed on 64 bit machine uses another version.</p>
  
  <p>Still after browsing the internet I have no idea what steps I should take to correct it.</p>
  
  <p>I would be really grateful for some "tutorial for dummies" how to deal with it.</p>
  
  <p>Oh, and my application needs to be built as 32 bit and run on 64 bit. No possibility of building it as 64 bit, another thing would stop working :(</p>