1

Closed

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.
Closed Jun 6, 2013 at 12:23 AM by yishaigalatzer
Thanks for reporting this issue. For MVC5 we are planning brand new scaffolding experience (Add Area is part of it).

We will take this suggestion into consideration when handling scaffolding area (and other constructs) for an Empty project.

comments