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 tells you how to solve the error assets file project.assets.json not found in Visual Studi…Read Post
This post gives you some razor code to help you see the values of the IPublishedContent item's prope…Read Post
In this post I share with you what Ronald Barendse taught us about setting the pageBaseType in Umbra…Read Post