title: T4 Assembly directive cannot find the file specified
body: <p>No matter what method is used to specify a file in an assembly directive the T4 engine cannot find the file specified.</p>
  
  <pre><code>&lt;#@ assembly name="$(SolutionDir)packages\TestPackage\lib\net45\Test.dll"#&gt;
  </code></pre>
  
  <p>or
      &lt;#@ assembly name="C:\Test.dll"#></p>
  
  <p>or any other method result in the same not found issue. The template engine seems to be able to read the file and will display its version information, even though it cannot find it.</p>
  
  <pre><code>Errors were generated when initializing the transformation object. The transformation will not be run. The following Exception was thrown:
  System.IO.FileNotFoundException: Could not load file or assembly ‘Test, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified.
  </code></pre>
  
  <p>indicating a missing dependency. There are no dependencies for the assembly.</p>
  
  <p>Why can the T4 engine not find my assembly?</p>