title: MySQL T4 Templates Error: Metadata file 'MySql.Data' could not be found
body: <p>D:\Web\CityV2\App_Code\ActiveRecord.tt(0,0) : error CS0006: Compiling transformation: Metadata file 'MySql.Data' could not be found</p>
  
  <p>Let me start by saying I'm using VWD 2008 Express.</p>
  
  <p>These are the steps I've taken so far:</p>
  
  <ul>
  <li>Created an entirely new project</li>
  <li>Added references for Subsonic.Core.dll and MySql.Data.dll</li>
  <li>Copied Active Record templates to project</li>
  <li>Changed all &lt;#@ include file="SQLServer.ttinclude" #> to &lt;#@ include file="MySQL.ttinclude" #></li>
  <li>Copied the MySQL.ttinclude and Settings.ttinclude from the TemplateProviders folder</li>
  <li>Updated Settings.ttinclude with my connectionstring and database information</li>
  <li>Updated the Settings.ttinclude and created the external tool mapping as per <a href="https://stackoverflow.com/questions/786734/subsonic-asp-net-mvc-sample-in-visual-web-developer-express">ranomore's instructions</a></li>
  <li>Attempted to build the code from the templates and received the error</li>
  </ul>
  
  <p>I then realized that I didn't have MySql Connector "installed" on my dev box (even though I added a reference to the bin).  So I proceeded to MySQL.com and downloaded the latest 6.0.4 connector msi and installed it (GAC).  The error no longer appears, but neither does anything else: no new classes, no new errors, nothing [and yes, I refreshed the project after running the command ;-)].</p>
  
  <p>Two things:</p>
  
  <ol>
  <li>Am I missing a step somewhere?</li>
  <li>Is there a way build the templates without needing MySQL installed to the GAC?</li>
  </ol>