title: EF6 and MySQL Generate Database from Model
body: <p>I've tried every solution I've found on the web with no success.  I continually get the error:</p>
  
  <pre><code>Running transformation: System.InvalidOperationException: The SSDL generated by the activity
  called 'CsdlToSsdlAndMslActivity' is not valid and has the following errors: 
    No Entity Framework provider found for the ADO.NET provider with invariant name
  'MySql.Data.MySqlClient'. Make sure the provider is registered in the 'entityFramework' 
  section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for 
  more information.
  </code></pre>
  
  <p>I have an empty Console project and a very basic model to test this with.  Through the NuGet Package Console I'd executed: <code>Install-Package MySQL.Data.Entities</code> which installed EF6, <code>MySQL.Data</code> and <code>MySQL.Data.Entities</code> and hooked up all the references and copied the relevant DLL's into the <code>bin/Debug</code> folder.</p>
  
  <p>I wired up the provider in the following (entire config file listed)</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;configuration&gt;
    &lt;configSections&gt;
      &lt;!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --&gt;
      &lt;section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /&gt;
    &lt;/configSections&gt;
    &lt;startup&gt;
      &lt;supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /&gt;
    &lt;/startup&gt;
    &lt;entityFramework&gt;
      &lt;defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /&gt;
      &lt;providers&gt;
        &lt;provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /&gt;
        &lt;provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6"&gt;&lt;/provider&gt;
      &lt;/providers&gt;
    &lt;/entityFramework&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>As far as I can tell I have the provider registered.  I have the latest MySQL connector updated as well.  Where am I going wrong?</p>