MVC4 - Bundling does not work when optimizations are set to true
I wonder what I don't do correct here. I am using ASP.NET C# MVC4 and I want to take use of new css/js optimization feature. Here is my HTML part @Styles.Render("~/content/css") Here is my BunduleConfig.cs part bundles.Add(new StyleBundle("~/content/css").Include( "~/content/css/reset.css", "~/content/css/bla.css")); // BundleTable.EnableOptimizations = true; Output (works): <link href="/content/css/reset.css" rel="stylesheet"/> <link href="/content/css/bla.css" rel="stylesheet"/> However when I uncomment BundleTable.EnableOptimizations = true; html output looks like this <link href="/content