I am getting the following error when loading an Infragistics style bundle on our deployed test server.
Refused to apply style from 'xxxxxxx.com/.../ because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Bundle Config:
// Infragistics CSS bundles.Add(new StyleBundle("~/Content/infragistics").Include( "~/Content/Infragistics/css/themes/infragistics/infragistics.theme.css", "~/Content/Infragistics/css/structure/infragistics.css"));
Use in Page:
@Styles.Render("~/Content/infragistics")
The paths are correct, we are using a local NuGet package to load the css into the project.
Any help would be appreciated.
Kenn