title: c# application with c++ library System.IO.FileNotFoundException
body: <p>I'm having trouble with one very tough dll.
   I'm using side dll to make my windows forms app work with webcam. Application works fine on my PC with VS2012, on my laptop with VS2012, but it doesn't work at all on Windows XP, running on virtual machine. <br />
   I'm getting JIT message <br /></p>
  
  <pre><code>System.IO.FileNotFoundException: Could not load file or assembly '---, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  </code></pre>
  
  <p>To prevent many question I'll answer myself:
  <br /> <strong>Yes, </strong> the dll do copy to directory with .exe
  <br /> <strong>Yes, </strong> I did deploy it as "Release"
  <br /> <strong>Yes, </strong> I did compile application as x86 target platform
  <br /> <strong>Yes, </strong> I did compile dll as x86 target platform
  <br /> <strong>Yes, </strong> I did install vcRedist all versions to target Windows XP
  <br /> <strong>Yes, </strong> I did install .NET from 3.0 to 4.0 to target Windows XP</p>
  
  <p><br />
  I just can't find out why my computer with Visual Studio can work with that dll, but XP can't.
  <br /></p>