c# - StyleBundle IncludeDirectory can not match some files? -


some css files can not include them head tag use stylebundle includedirectory name ends min.css why?

bundles.add(new stylebundle("~/content/css").includedirectory("~/content/css", "*.css")); 

problem

according doc provided microsoft

note: unless enableoptimizations true or debug attribute in compilation element in web.config file set false, files not bundled or minified. additionally, .min version of files not used, full debug versions selected. enableoptimizations overrides debug attribute in compilation element in web.config file

read this.

so in debug mode, think should have non-min versions of css files.


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -