title: EntityFramework 5 Install fails in VS 2012
body: <p>I'm attempting to install the latest version of the EntityFramework from the Program Manager console in Visual Studio 2012.  Running the install-package command yields the following error:</p>
  
  <pre><code>PM&gt; install-package EntityFramework
  You are downloading EntityFramework from Microsoft, the license agreement to which is available at http://go.microsoft.com/fwlink/?LinkId=253898&amp;clcid=0x409. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
      Successfully installed 'EntityFramework 5.0.0'.
      Successfully uninstalled 'EntityFramework 5.0.0'.
      Install failed. Rolling back...
      install-package : Failed to add reference to 'System.Data.Entity'. Please make sure that it is in the Global Assembly Cache.
      At line:1 char:1
      + install-package EntityFramework
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
          + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
  </code></pre>
  
  <p>So I did some poking around on Google and came up with the following to enter in the Web.Config file.  I made a second attempt at installing the EntityFramwork with the following entry:</p>
  
  <pre><code>&lt;section name="entityFramework" type="EntityFramework.dll, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /&gt;
  </code></pre>
  
  <p>Which resulted in the same error.  My questions are these:</p>
  
  <ul>
  <li><p>How can I get this package installed?  Out of the box this should work and does with other packages this seems silly that this package can't be installed quickly and easily.</p></li>
  <li><p>Where does the documentation for this package along with some form of a FAQ exist?  This too seems silly that documentation for installation issues does not exist.</p></li>
  </ul>
  
  <p>Thanks in advance!</p>
  
  <p>::Edit::</p>
  
  <p>I forgot to add I tried the following entry to the web.config file as well:</p>
  
  <pre><code>&lt;assemblies&gt;
      &lt;add assembly="System.Data.Entity, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /&gt;
    &lt;/assemblies&gt;
  </code></pre>
  
  <p>...which yielded the same error.</p>