This post will show you, how you can fix "The name 'Scripts' does not exist in the current context" error.
Just go to your Views
folder, open web.config
& add this missing key. You're done...!!!
<add namespace="System.Web.Optimization"/>
System.Web.Optimization.dll
in your project.Install-Package Microsoft.AspNet.Web.Optimization
.Web.Config
file have the reference of System.Web.Optimization
.