javascript - Adding additional files to C# script and css bundles -
ok have been using c# bundling minify , combine scripts , css. but i'm not sure how append script bundle has been created. i'm trying append bundle because not scripts found in same file, i'm working nopcommerce solution in visual studio. scripts added on solution. here bundle code: bundles.add(new scriptbundle("~/content/themes/base/js/scripts/footeroptimized").include( "~/themes/mytheme/content/js/bootstrap.min.js", "~/scripts/jquery.validate.min.js", "~/scripts/jquery.validate.unobtrusive.min.js", "~/scripts/public.common.min.js", "~/themes/mytheme/content/js/readmore.min.js")); i thought maybe use bundles .add() function error: bundles.add("~/themes/mytheme/content/js/global.min.js")); the error is: "cannot convert string system.web.optimization.bundle" i couldn't find explaining why im getting error. also have added using statement optimizatio...