I have such bundle
bundles.Add(new StyleBundle("~/Content/themes/default/css")
.IncludeDirectory("~/Content/themes/Default", "*.css"));
but I want to exclude one CSS file from it.
Is it possible to make this without specifying each CSS file in bundle?
Try using IgnoreList.Ignore; bundles.IgnoreList.Ignore(...)
.