ASP.NET System.Web.Optimization: Bundling jQueryUI CSS

killopereet

New Member
I am trying to bundle jQueryUI in one request.Global.asax:\[code\]var cssjQuery = new StyleBundle("~/Content/BundleCSS/jQuery");cssjQuery.IncludeDirectory("~/Content/themes/base", "*.css");\[/code\]Layout:\[code\]<link href="http://stackoverflow.com/questions/12669641/@Styles.Url("~/Content/BundleCSS/jQuery")" rel="stylesheet" type="text/css" />\[/code\]Folder structure:
  • CSS files: Content/themes/base/*.css
  • Image files: Content/themes/base/images/*.png
The problem now is that the images can't be loaded, because there is no Folder "BundleCSS":\[code\]http://localhost:64648/Content/BundleCSS/images/ui-bg_flat_75_ffffff_40x100.png\[/code\]How can I solve this issue?
 
Back
Top