This post shows you how to fix the error "The name 'Scripts' does not exist in the current context"
The reason this error occurs is because you haven't got System.Web.Optimization referenced at the top of the View.
You can fix it by adding the using statement at the top of the view like this:
You might not have the System.Web.Optimization dll referenced in your project. You can add it to the project using Package Manager Console
PM> Install-Package Microsoft.AspNet.Web.Optimization
If this post helped you, please share it or leave a comment.
This post will show you how you can include scripts from inside an MVC partial view rather than havi…Read Post
This post will show you how to fix the error "Authentication failed because the remote party has clo…Read Post
This post help you solve the error System.IO.FileNotFoundException Could not load file or assembly S…Read Post
This post will show you how to solve the error "Could not load file or assembly 'Microsoft.CodeDom.P…Read Post