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

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

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

StringGrid issue in Delphi XE8 firemonkey mobile app -