title: How to install ngen dependencies?
body: <p>I'm using ngen to install native image of an exe but i need also to install their dependencies when i try</p>
  
  <pre><code>ngen install c:\myfiles\MyLib.dll /ExeConfig:c:\myapps\MyApp.exe
  </code></pre>
  
  <p>I get the following errors</p>
  
  <pre><code>Could not load file or assembly xxx  or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
  </code></pre>
  
  <p>I'm using theses dll with Assembly.load </p>
  
  <p>How i can resolve this problem ?</p>