I am using MVC5 .NET and I am trying in Release mode to show my fa icons. I was trying to recompile base css bundle and nothing.
.Include("~/Content/css/libs/awesome/font-awesome.css", new CssRewriteUrlTransform());
I can confirm, in debug mode it works, and in Release mode, it doesn't.
I ordered my bundles like this:
var bundleCSS = new StyleBundle("~/bundles/css")
.Include("~/Content/css/libs/revolution/settings.css")
.Include("~/Content/css/libs/bootstrap/bootstrap.css")
//.Include("~/Content/css/libs/awesome/font-awesome.css")
.Include("~/Content/css/libs/ionicons/ionicons.css")
.Include("~/Content/css/libs/jquery-ui/jquery-ui.min.css")
.Include("~/Content/css/libs/owl-carousel/owl.carousel.css")
.Include("~/Content/css/libs/magnific-popup/main.css")
.Include("~/Content/css/libs/flexslider/flexslider.css")
.Include("~/Content/css/libs/camera/camera.css")
.Include("~/Content/css/custom/general.css")
.Include("~/Content/css/custom/header.css")
.Include("~/Content/css/custom/rooms.css")
.Include("~/Content/css/custom/home.css")
.Include("~/Content/css/custom/reset-styles.css")
.Include("~/Content/css/custom/pages.css")
.Include("~/Content/css/custom/sidebar.css")
.Include("~/Content/css/custom/event.css")
.Include("~/Content/css/custom/footer.css")
.Include("~/Content/css/custom/responsive.css")
.Include("~/Content/css/custom/Site.css")
.Include("~/Content/css/libs/jquery-ui/jquery-ui.min.css")
.Include("~/Content/css/style.css")
//.Include("~/Content/css/custom/header.css", new CssRewriteUrlTransform());
.Include("~/Content/css/libs/awesome/font-awesome.css", new CssRewriteUrlTransform());
bundleCSS.Orderer = new AsIsBundleOrderer();
bundles.Add(bundleCSS);
Maybe ordering and CssRewrite does not functionate with each other?