title: Cshtml Unable to Resolve Reference
body: <p>I'm adding Microsoft.Web.Optimization to an MVC 4 Beta project.</p>
  
  <p>My _Layout.cshtml:</p>
  
  <pre><code>&lt;script src="@Microsoft.Web.Optimization.BundleTable.Bundles.ResolveBundleUrl("~/Scripts/Framework/js", true)"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>complains</p>
  
  <blockquote>
    <p>Error 1   The type or namespace name 'Optimization' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?)</p>
  </blockquote>
  
  <p>However, any .cs file in the project can resolve that type (for example, a controller).</p>
  
  <p>Do I need to do something to inform a .cshtml page about the newly added reference?</p>