When I put a specific CSS file called glyphicons.css in my BundleConfig, the following error appears
An exception of type 'System.IndexOutOfRangeException' occurred in WebGrease.dll but was not handled in user code
and the file exists in my solution in a specific way, like all other CSS files.
Has anyone encountered this problem yet?
bundles.Add(new StyleBundle("~/Content/css").Include( "~/Content/css/bootstrap.css", "~/Content/css/uploadfyBoot/style.css", "~/Content/css/uploadfyBoot/jquery.fileupload.css", "~/Content/css/tipografia.css", "~/Content/css/glyphicons.css" ));
If I remove the link to glyphicons.css, it works.
asp.net-mvc bundle
Lucas_santos
source share