title: The name 'Scripts' does not exists in the current context in MVC
body: <p>In my mvc application, In the _Layout.cshtml has code below...</p>
  
  <pre><code>&lt;head&gt;
      &lt;meta charset="utf-8" /&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
      &lt;title&gt;@ViewBag.Title - My ASP.NET Application&lt;/title&gt;
      @Styles.Render("~/Content/css")
      @Scripts.Render("~/bundles/modernizr")
  
  &lt;/head&gt;
  </code></pre>
  
  <p>But the problem is it says <code>The name 'Scripts' does not exists in the current context</code>.</p>
  
  <p>I have already added the assembly to the reference and to the Bundle config as <code>using System.Web.Optimization;</code></p>
  
  <p>This happens for <strong>@styles</strong> also..
  What should I do?</p>