1
Vote

Error in web.config for areas added to Empty ASP.NET MVC 4 Application

description

Starting out with an empty MVC 4 application, System.Web.Optimizations.dll is not referenced.

In the web.config in an area's views folder, line 18 adds the <add namespace="System.Web.Optimization"/> element pointing to an unreferenced assembly.

This causes a an error when trying to render any view in that area.

comments