I\'m just trying out ASP.NET 4.5 bundling and minification, and ran into an issue.
I\'ve got around 10 css files, of which 2 were originally referenced in the layout
In BundleConfig.cs:
//Print css must be a separate bundle since we are going to render it with a media=print
Bundles.Add(new StyleBundle("~/bundles/printCSS").Include("~/Content/Print.css"));
Master Page:
Master Page Code File:
litCssPrint.Text = Styles.RenderFormat(@"", "~/bundles/printCSS").ToHtmlString();