title: ILMerge outputs assembly with processorArchitecture=x86
body: <p>I have an issue with ILMerge, latest release 2.12.0803. Even my assemblies have processor architecture set to MSIL, the output merged assembly has x86.</p>
  
  <p>The way I run ILMerge is:</p>
  
  <pre><code>ILMerge.exe /t:library /targetPlatform="v4,C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0" /keyfile:key.snk /output:"Test.dll" a.dll b.dll ... other assemblies
  </code></pre>
  
  <p>On build time I have a warning:</p>
  
  <blockquote>
    <p>There was a mismatch between the processor architecture of the project
    being built "MSIL" and the processor architecture of the reference
    "Test", "x86"</p>
  </blockquote>
  
  <p>and at run-time I get a File Not found Exception:</p>
  
  <blockquote>
    <p>Could not load file or assembly 'Test, Version=3.9.32.0, Culture=neutral, PublicKeyToken=8fd4d0b13dde34b0' or one of its
    dependencies. The system cannot find the file specified.</p>
  </blockquote>
  
  <p>Running gacutil:</p>
  
  <blockquote>
    <p>C:\Windows\system32>gacutil /l "Test, Version=3.9.32.0, 
    Culture=neutral, PublicKeyToken=8fd4d0b13dde34b0" Microsoft (R) .NET
    Global Assembly Cache Utility.  Version 4.0.30319.17929 Copyright (c)
    Microsoft Corporation.  All rights reserved.</p>
    
    <p>The Global Assembly Cache contains the following assemblies:   Test,
    Version=3.9.32.0, Culture=neutral, PublicKeyTok en=8fd4d0b13dde34b0,
    processorArchitecture=x86</p>
  </blockquote>
  
  <p>Is there a way to change the processorArchitecture to MSIL for the merged assembly?</p>