bundles.Add(new StyleBundle("~/a/b/c") .Include("~/Content/font-awesome.css", new CssRewriteUrlTransform()));
I have this binding. The font-awesome css has a url defined as url('../fonts/fontawesome-webfont.eot?v=4.0.3') , which is valid when css is under "~/Content/font-awesome.css" but now it is under "~ / a / b"
But CssRewriteUrlTransform does not start and does not rewrite the path to the url('../../fonts/fontawesome-webfont.eot?v=4.0.3')
Update:. If I delete the .min file, it will start working CssRewriteUrlTransform , error in web optimization?
https://aspnetoptimization.codeplex.com/workitem/166
source share