title: EnvDTE not found in VS2012 works in VS2010
body: <p>I'm using EnvDTE to do some code generation within my T4 Templates. </p>
  
  <p>I have the code working correctly in Visual Studio 2010, however I've just started using Visual Studio 2012 and now when I try to run my templates I get the following error</p>
  
  <pre><code>Compiling transformation: Metadata file 'EnvDTE.dll' could not be found 
  </code></pre>
  
  <p>I don't actually have a reference to EnvDTE in my project as its a Silverlight class library and I wasn't able to add the DLL, however it finds the DLL somehow.</p>
  
  <p>I'm not sure what is difference is between 10 and 12 to cause this.</p>
  
  <p>The following are my imports and assembly definitions from the start of my ttinclude file.</p>
  
  <pre><code>&lt;#@ template debug="true" hostSpecific="true" #&gt;
  &lt;#@ output extension=".generated.cs" #&gt;
  &lt;#@ Assembly Name="EnvDTE.dll" #&gt;
  &lt;#@ Assembly Name="System.Data" #&gt;
  &lt;#@ import namespace="EnvDTE" #&gt;
  &lt;#@ import namespace="System.Data" #&gt;
  &lt;#@ import namespace="System.Data.SqlClient" #&gt;
  &lt;#@ import namespace="System.IO" #&gt;
  &lt;#@ import namespace="System.Text.RegularExpressions" #&gt;
  </code></pre>
  
  <p>Is there anything I have to do differently to get it working for Visual Studio 2012</p>