title: T4 Templates: Import namespace in host assembly
body: <p>All,</p>
  
  <p>I have a T4 Template</p>
  
  <pre><code>&lt;#@ template debug="true" hostSpecific="true" #&gt;
  &lt;#@ output extension=".cs" #&gt;
  &lt;#@ Assembly Name="System.Core" #&gt;
  &lt;#@ Assembly Name="System.Windows.Forms" #&gt;
  &lt;#@ import namespace="System" #&gt;
  &lt;#@ import namespace="System.IO" #&gt;
  &lt;#@ import namespace="System.Diagnostics" #&gt;
  &lt;#@ import namespace="System.Linq" #&gt;
  &lt;#@ import namespace="System.Collections" #&gt;
  &lt;#@ import namespace="System.Collections.Generic" #&gt;
  &lt;#@ import namespace="MyLibrarysRootNameSpace.SomeNamespace" #&gt;
  /*Rest of template follows*/
  </code></pre>
  
  <p>I'm trying to get the last line to import so that I can easily resuse this template in other projects, but I seem to be missing something.  Is what I am trying to do possible?  If so, how?</p>