title: Entity Framework code first migrations throwing error
body: <p>Here is what I did before I got this error:</p>
  
  <ol>
  <li>Installed EF (the pre release version, 6 maybe, I dunno)</li>
  <li>decided I did not want, so uninstalled that and reinstalled the stable version (5)</li>
  <li>Truncated my database via SSMS</li>
  </ol>
  
  <p>here is the error:</p>
  
  <pre><code>Exception calling "CreateInstanceFrom" with "8" argument(s): "Could not load file or      
  assembly 'EntityFramework, Version=5.0.0.0, Culture=neutral, PublicK
  eyToken=b77a5c561934e089' or one of its dependencies. The located assembly's manifest   
  definition does not match the assembly reference. (Exception from H
  RESULT: 0x80131040)"
  At C:\Projects\BCATracker.Web\packages\EntityFramework.6.0.0- 
  alpha2\tools\EntityFramework.psm1:425 char:31
  +     $domain.CreateInstanceFrom &lt;&lt;&lt;&lt; (
  + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
  + FullyQualifiedErrorId : DotNetMethodTargetInvocation
  </code></pre>
  
  <p>Here is what I have tried:</p>
  
  <ul>
  <li>Delete everthing from the bin directory, rebuild.</li>
  <li>remove EF from nuget, delete the file in the packages directory, readd ef in nuget.</li>
  </ul>
  
  <p>Looking at the proj file I see this:</p>
  
  <pre><code>&lt;Reference Include="EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"&gt;
    &lt;SpecificVersion&gt;False&lt;/SpecificVersion&gt;
    &lt;HintPath&gt;..\packages\EntityFramework.5.0.0\lib\net40\EntityFramework.dll&lt;/HintPath&gt;
  &lt;/Reference&gt;
  </code></pre>
  
  <p>What could be a possible root cause?</p>