the name scripts does not exist in the current context mvc 5

C#
<system.web.webPages.razor>
    <pages>
      <namespaces>
        <add namespace="System.Web.Optimization"/>
      </namespaces>
    </pages>
</system.web.webPages.razor>
Source

Also in C#: