asp.net mvc - Set in the BundleConfig but load script fail - MVC4 Razor -


i have set bundleconfig file :

bundles.add(new scriptbundle("~/bundles/mytest").include("~/scripts/test.js").include(                         "~/scripts/test.init.js"));  bundles.add(new scriptbundle("~/bundles/angular").include("~/scripts/angular.min.js"));  

i call them layout :

@scripts.render("~/bundles/angular") <!-- error --> @scripts.render("~/bundles/mytest") <!-- success --> 

where's error, please ?

http://blog.falafel.com/blogs/noel-rice/2012/09/19/adding-your-own-scripts-and-style-sheets-to-mvc-4-bundles

bundling in asp.net mvc ignore files ending .min.js. have add development version of file.

bundles.add(new scriptbundle("~/bundles/angular").include("~/scripts/angular.js")); 

Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -