I am trying to create versioning for the controllers in a location using bundle.add(new ScriptBundle().includedirectory())
, as i have been getting the answers to use Include()
, but i need to use `IncludeDirectory().
Please suggest me some solution or references so that i can achieve , below the BundleConfig code for my controller directory.
bundles.Add(new ScriptBundle("~/bundles/Controllers").IncludeDirectory(
"~/App/Controllers", "*.js", true));