title: Visual Studio 2012 - EntityFramework and clearing it from GAC
body: <p>Visual Studio 2012 question:</p>
  
  <p>Recently installed 2012 (2010 was on here already) ... downloaded project from TFS ... went to run the project and it needed EntityFramework ... Installed EntityFramework from NuGet ...</p>
  
  <p>Here's the problem: now it is throwing an error:</p>
  
  <blockquote>
    <p>Could not load file or assembly 'EntityFramework, Version=4.1.0.0,
    Culture=neutral, PublicKeyToken=...' or one of its dependencies. The
    located assembly's manifest definition does not match the assembly
    reference. (Exception from HRESULT: 0x80131040)</p>
  </blockquote>
  
  <p>With this error, we searched and found that a way to get this resolved would be to clear the instance from the GAC. I went to clear the GAC from the Visual Studio Command Prompt (which, BTW, it only came up with the 2010 command prompt) using the command:</p>
  
  <p><code>gacutil /u "EntityFramework ..."</code></p>
  
  <p>Which returned:</p>
  
  <ul>
  <li>No assemblies found matching: EntityFramework</li>
  <li>Number of assemblies uninstalled = 0</li>
  <li>Number of failures = 0</li>
  </ul>
  
  <p>So I was wondering if anyone may have encountered this issue and found a solution -or- if someone may have a solution to the overall problem. Thanks!</p>