I am working on an MVC4 application where I use WebOptimization to do all my resource handling (cat and min). I have several pages that are very similar, but you need some different styles per page after page.
So, I'm trying to reference one package (base styles) inside another package (page-specific styles), and I'm not very lucky. Here is what I have in my configuration:
bundles.Add(new StyleBundle("~/bundles/css/search").Include( "~/Content/css/partials/grid-controls.css", "~/Content/css/partials/grid.css", "~/Content/css/views/search.css")); bundles.Add(new StyleBundle("~/bundles/css/searchtrees").Include( "~/bundles/css/search", "~/Content/css/views/search/trees.css"));
On the search trees page, I get tree.css, but nothing from the basic CSS search set.
How can I link to the first package in the second? I am sure there is a way just not too familiar with the set.
jasonmerino
source share