I have a problem with the bundle of ASP.NET MVC. When I squeeze the local application, the FontAwesome icons render perfectly. Even when I enable the bundle location.
However, when I publish the application to the server, the bundle changes all "content" from the awesome font css to "?" and the icons disappear.
I do not think it should be any of the application, because iisexpress runs normally.
bundles.Add(new StyleBundle("~/bundles/style").Include(
"~/Content/poppins.css",
"~/Content/bootstrap.min.css",
"~/Content/font-awesome.min.css",
"~/Content/animate.css",
"~/Content/filter.css",
"~/Content/awesome-bootstrap-checkbox.css",
"~/Content/bootstrap-datepicker.css",
"~/Content/bootstrap-select.css",
"~/Content/jquery.dataTables.css",
"~/Content/multi-select.css",
"~/Content/sweetalert.css",
"~/Content/jstree.css",
"~/Content/dataTables.select.css",
"~/Content/bootstrap-tagsinput.css",
"~/Content/style.css"
));
Images
Certainicons(localhost)
All the contents of the font-awesome classes appear as (an example), but only after the bundle, because the css file is correct:
.fa-user {
content: '?';
}