Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET MVC 4 Bundling not working

I have a used the intranet template for a simple MVC 4 project. I have tried to bundle separately my css and js. All works ok until I change my web.config debug=false to make use of the minification.

When I run the project without debugging the application hangs and looking in firebug and fiddler it does not appear to make the requests for the bundles.

Have I missed sometin obvious?

like image 585
MightyAtom Avatar asked Dec 03 '25 11:12

MightyAtom


1 Answers

make sure you are not trying to minify min versions of js and that you have the latest webgrease (1.3) from nuget.

like image 197
viperguynaz Avatar answered Dec 06 '25 03:12

viperguynaz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!