.NETs standard tools for bundling and minification are a great asset to the platform solving a lot of problems with only a few lines of code.
However if using IIS 7.0 you may run into a strange issue where the path to your bundles gets created but a 404 is returned whenever there accessed. The functionality is obviously installed and working otherwise the URL wouldn’t be created, but a 404 clearly isn’t what you want.
The solution lies in your web.config file by setting runAllManagedModulesForAllRequests to true
<system.webServer> <modules runAllManagedModulesForAllRequests="true"> </modules> </system.webServer>