title: Strong name validation failure on Import-Module
body: <p>I'm unable to import an assembly, supposedly because strong name validation is failing, though this occurs even when I register the assembly to not be checked. Can somebody spot what I'm doing wrong here? </p>
  
  <p>Below is a transcript. For reference, the switches to sn.exe are:</p>
  
  <ul>
  <li>-v: Verify signature.</li>
  <li><p>-Vr: Register assembly for verification skipping.</p>
  
  <p>PS C:\temp> .\sn.exe -v .\my.dll</p>
  
  <p>Microsoft (R) .NET Framework Strong Name Utility  Version 3.5.30729.1
  Copyright (c) Microsoft Corporation.  All rights reserved.</p>
  
  <p>Assembly '.\my.dll' is valid</p>
  
  <p>PS C:\temp\Cmdlets> Import-Module .\my.dll
  Import-Module : Could not load file or assembly 'my,
   Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its
   dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
  At line:1 char:14</p>
  
  <ul>
  <li>Import-Module &lt;&lt;&lt;&lt;  .\Microsoft.Rtc.Management.Core.dll
  <ul>
  <li>CategoryInfo          : NotSpecified: (:) [Import-Module], FileLoadExcep
  tion</li>
  <li>FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell
  .Commands.ImportModuleCommand</li>
  </ul></li>
  </ul>
  
  <p>PS C:\temp\Cmdlets> .\sn.exe -Vr *</p>
  
  <p>Microsoft (R) .NET Framework Strong Name Utility  Version 3.5.30729.1
  Copyright (c) Microsoft Corporation.  All rights reserved.</p>
  
  <p>Verification entry added for assembly '<em>,</em>'</p>
  
  <p>PS C:\temp\Cmdlets> Import-Module .\my.dll
  Import-Module : Could not load file or assembly 'my,
   Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its
   dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
  At line:1 char:14</p>
  
  <ul>
  <li>Import-Module &lt;&lt;&lt;&lt;  .\Microsoft.Rtc.Management.Core.dll
  <ul>
  <li>CategoryInfo          : NotSpecified: (:) [Import-Module], FileLoadExcep
  tion</li>
  <li>FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell
  .Commands.ImportModuleCommand</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>I should mention that I've verified via Reflector that all required dependent assemblies are present in the same directory. </p>