title: How to fix Exception Could not load file or assembly 'EntityFramework, Version=4.0.0.0[...]' or one of its dependencies
body: <p>I installed EF6 and then realized MySQL has yet to provide support for it on their Connector/Net. So Naturally I rolled back and now I'm getting the error cited in the title.</p>
  
  <p>My app.config looks like this</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;configuration&gt;
    &lt;configSections&gt;
      &lt;section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /&gt;
      &lt;!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --&gt;
    &lt;/configSections&gt;
    &lt;entityFramework&gt;
      &lt;defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"&gt;
        &lt;parameters&gt;
          &lt;parameter value="v11.0" /&gt;
        &lt;/parameters&gt;
      &lt;/defaultConnectionFactory&gt;
    &lt;/entityFramework&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>and my references look like:<br></p>
  
  <p><strong>Name:</strong> EntityFramework.dll<br>
  <strong>Created By:</strong> Microsoft Corporation<br>
  <strong>Verison:</strong> 5.0.20627.0<br></p>
  
  <p>Additionally I have referenced the following assemblies:<br></p>
  
  <p><strong>Name</strong>: System.Data<br>
  <strong>Version</strong>: 4.0.0.0<br>
  <strong>File Version</strong>: 4.030319.17929<br>
  <br>
  <strong>Name</strong>: System.Data.Entity<br>
  <strong>Version</strong>: 4.0.0.0<br>
  <strong>File Version</strong>: 4.030319.17929<br></p>
  
  <p>The Exact text of the Exception I get is:</p>
  
  <blockquote>
    <p>An error occurred creating the configuration section handler for entityFramework: Could not load file or assembly 'EntityFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)</p>
  </blockquote>
  
  <p>How can I fix this??</p>