Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Closed Issue: Error in web.config for areas added to Empty ASP.NET MVC 4 Application [406]

$
0
0
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: 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.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>