Я использую MVC5 .NET и пытаюсь в режиме Release показать мои значки fa.
Я пытался перекомпилировать базовый пакет CSS и ничего.
.Include("~/Content/css/libs/awesome/font-awesome.css", new CssRewriteUrlTransform());
Я могу подтвердить, что в режиме отладки это работает, а в режиме выпуска - нет.
Я заказал свои пачки так:
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);
Может быть, порядок и CssRewrite не работают друг с другом?