c# - Bundle Wont Include -


i have simple bundle wish include

@scripts.render("~/bundles/bjqs") 

the bundle config looks this

bundles.add(new scriptbundle("~/bundles/bjqs").include(     "~/scripts/bjqs-1.3.min.js")); 

however never gets included.

if manually include this

@scripts.render("~/scripts/bjqs-1.3.min.js"); 

it works, defeats purpose of bundle.

help me stack overflow, hope.

sometimes may need clear ignorelist,especially if including min files in bundle.

 bundles.ignorelist.clear(); 

and add

bundles.add(new scriptbundle("~/bundles/bjqs").include(     "~/scripts/bjqs-1.3.min.js")); 

a post on behavior here


Comments

Popular posts from this blog

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -