Monday, June 23, 2014

the name 'Scripts' does not exists in the current context in Asp.net MVC 4

You will get this error message when you want to build asp.net MVC 4 application with blank solution. To solve this issue, you have to install the following nuget package in your project:
Install-Package Microsoft.AspNet.Web.Optimization
And also in web.config, add following:
<add namespace="System.Web.Optimization"/> 
It will solve your issue.

No comments:

Post a Comment

React-select is very slow on larger list - Found solution - using react-window

 I had more than 4000 items in searchable dropdownlist. I have used react-select but it was very slow. finally I found complete solution to ...