asp.net-mvc-4 system.web.optimization bundle - Enable bundling and minification in debug mode in ASP.NET MVC 4
BundleTable.EnableOptimizations = true; in
Application_Start() method of
I can't believe I cannot find other questions about this, but: how does one enable bundling in debug mode? I know how it is enabled for release mode, but in debug mode I cannot find a way to enable the bundling.
Is this even possible or am I missing something?
The official MS site states while Debugging it's not possible to enable it. I think the reason is, that it's easier to debug while it's disabled. If you want to test the Impact on your application you have to set
<compilation debug="true" /> in the Web.config
@Hebe: To Quote the MS page