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...!!!
Things to remember here:
- You must have the reference of
System.Web.Optimization.dllin your project.
- If not, just install this package from Nuget with this command -
- Ensure that your Views
Web.Configfile have the reference of