title: Could not load file or assembly 'Leadtools.Codecs', if anyone is familiar with leadtools
body: <p>I get an exception on the last line of the following code (sorry for the format, won't let me post it any other way): </p>
  
  <pre><code>LeadHelper.Unlock(); 
  RasterCodecs codecs = new RasterCodecs(); 
  string imageLocation = @"...path...\Barcodes.tif"; 
  RasterImage srcImage = codecs.Load(imageLocation); 
  </code></pre>
  
  <p>The exception reads: </p>
  
  <blockquote>
    <p>System.BadImageFormatException: Could not load file or assembly 'Leadtools.Codecs, Version=17.5.0.0, Culture=neutral, ..........' or one of its dependencies. An attempt was made to lead a program with an incorrect format. </p>
  </blockquote>
  
  <p>In an effort to try to get rid of this exception, I referenced every possible Leadtools.Codecs.* DLL, Leadtools.dll... pretty much every single Leadtools dll we could possibly reference. </p>
  
  <p>For my includes, I included Leadtools, Leadtools.Barcode, Leadtools.Codecs, Leadtools.Codecs.Tif, Leadtools.Codecs.Fax, and Leadtools.Forms </p>
  
  <p>This is for a test console app I'm making to read barcodes... VS2010 C#.</p>
  
  <p>Also, I most definitely have access to the file, it's a reference to a network file but have tried referencing it locally, checked permissions, etc etc </p>