Obviously, it doesn’t work. OK, it’s not so obvious when it happened to me.
Turn out, ASP.Net MVC 4 Bundles has ignore list. You guess it, the .min extension is included in the ignore list. To override the ignore list:
public static void SetIgnorePatterns(IgnoreList ignoreList)
if (ignoreList == null)
throw new ArgumentNullException("ignoreList");
public static void RegisterBundles(BundleCollection bundles)
// Continue with your code ...
While we are on the subject, it’s important to note that Bundle and Minification are different process. ASP.Net site explains it as:
Source: MVC 4 Bundling and Minification