title: Manifest not processed when loading module
body: <p>I've created a PowerShell module and a manifest but it seems like the manifest is not processed when loading the module.</p>
  
  <p>I've created a very simple example with the same behaviour:</p>
  
  <p><code>TestModule.psm1</code></p>
  
  <pre><code>function Foo
  {
      return "Bar"
  }
  </code></pre>
  
  <p>I then create a manifest like this:</p>
  
  <pre><code>$version = New-Object System.Version(0, 0, 1, 0)
  
  New-ModuleManifest -Author "Remko Weijnen" -Description "TestModule" -ModuleVersion $version  -PowerShellVersion 3.0 `
      -Path ".\TestModule.psd1" -RootModule ".\TestModule.psm1"
  </code></pre>
  
  <p>I've created a folder <code>TestModule</code> and placed <code>TestModule.psm1</code> and <code>TestModule.psd1</code> inside it.</p>
  
  <p>When importing the manifest the version is recognised correctly:</p>
  
  <pre><code>Import-Module .\TestModule.psd1
  Get-Module TestModule | select name, version
  
  Name       Version
  ----       -------
  TestModule 0.0.1.0
  </code></pre>
  
  <p>However when I load the module the version is not recognised:</p>
  
  <pre><code>Import-Module .\TestModule.psm1
  Get-Module TestModule | select name, version
  
  Name       Version
  ----       -------
  TestModule 0.0
  </code></pre>
  
  <p>Am I missing something? Or is it not supposed to work like this?</p>