title: Visual Studio 2012 MVC build error: The type or namespace name 'Infrastructure' does not exist in the namespace 'System.Data.Entity'
body: <p><strong>Update:</strong> The assembly reference to <em>System.Data.Entity</em> is selected in the Reference Manager.</p>
  <h2>The Setup</h2>
  <p>I get an error when trying to run an out-of-the-box ASP.NET MVC 3 Web Application. I made no modifications.</p>
  <p>I simply chose <em>File &gt; New Project &gt; Visual C# &gt; ASP.NET MVC 3 Web Application</em> and left all the default settings intact.</p>
  <p>Under <em>Project Settings</em>, I chose <em>Internet Application</em> for the template, <em>Razor</em> for the view engine, and checked <em>Use HTML5 semantic markup</em>.</p>
  <p>I then immediately chose <em>Build &gt; Build Solution</em> which fails and produces this error and five other warnings (shown in the screenshot).</p>
  <h2>The Error</h2>
  <blockquote>
  <p>Error 1   The type or namespace name 'Infrastructure' does not exist in the namespace 'System.Data.Entity' (are you missing an assembly reference?)</p>
  <p>C:\Users\johndoe\Documents\Visual Studio 2012\Projects\MvcApplication1\MvcApplication1\Global.asax.cs</p>
  </blockquote>
  <h2>Yes, I know...</h2>
  <p>...<a href="https://stackoverflow.com/questions/13577157/the-namespace-name-infrastructure-does-not-exist-in-a-namespace-system-data-enti">this question has been asked</a> — <a href="https://stackoverflow.com/search?q=The+type+or+namespace+name+does+not+exist+in+the+namespace">many times</a> — but the answers on those posts do not provide adequate information to solve my problem.</p>
  <p><em><strong>Please, be specific in your response</strong></em>, with step-by-step instructions, as I am new to Visual Studio and its MVC app development framework.</p>
  <h2>The Question</h2>
  <p><strong>What would cause Visual Studio not to work right out-of-the-box?</strong> This is a fresh install. Is there an update that could have caused this issue or could fix this issue?</p>
  <h2>The Screenshot</h2>
  <p><img src="https://i.stack.imgur.com/dVVF8.png" alt="Screenshot of Visual Studio Error List" /></p>
  <h2>System Information</h2>
  <p>Microsoft Visual Studio Ultimate 2012
  Version 11.0.61030.00 Update 4</p>
  <p>Microsoft .NET Framework
  Version 4.5.50709</p>
  <p><strong>Installed products:</strong></p>
  <ul>
  <li>Architecture and Modeling Tools</li>
  <li>LightSwitch for Visual Studio 2012</li>
  <li>Office Developer Tools</li>
  <li>Team Explorer for Visual Studio 2012</li>
  <li>Visual Basic 2012</li>
  <li>Visual C# 2012</li>
  <li>Visual C++ 2012</li>
  <li>Visual F# 2012</li>
  <li>Visual Studio 2012 Code Analysis Spell Checker</li>
  <li>Visual Studio 2012 SharePoint Developer Tools</li>
  <li>ASP.NET and Web Tools</li>
  <li>LNDevEnv</li>
  <li>NuGet Package Manager</li>
  <li>PreEmptive Analytics Visualizer</li>
  <li>SQL Server Data Tools</li>
  </ul>