the name scripts does not exist in the current context, c.cshtml code example
Example: the name scripts does not exist in the current context mvc 5
<system.web.webPages.razor>
<pages>
<namespaces>
<add namespace="System.Web.Optimization"/>
</namespaces>
</pages>
</system.web.webPages.razor>