title: Strong name validation failed for application
body: <p>I made a c# application that uses C:\Program Files (x86)\Reference Assemblies\Microsoft\WindowsPowerShell\3.0\System.Management.Automation.dll</p>
  
  <p>I also copied the dll to my bin folder. It works fine, but if I copy the bin folder to another machine and run the executable I get this error:</p>
  
  <pre><code>************** Exception Text **************
  System.IO.FileLoadException: Could not load file or assembly 'System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
  File name: 'System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ---&gt; System.Security.SecurityException: Strong name validation failed. (Exception from HRESULT: 0x8013141A)
  </code></pre>
  
  <p>Note: I'm not signing the assemblies at all.
  Also I do not want to disable security by modifying the registry keys. I just want to fix it properly.
  Any ideas how to fix this problem without globally registering the dll?</p>
  
  <p>Updates: I tried copying the whole visual studio project over to the other machine. It's not working on windows 7 while it is working on windows 8.</p>