title: ASP.Net MVC Style Bundle Not Including Most Files
body: <p>Recently, my local copy of a project completely lost most of its styling. Took me a while to figure it out, as most of the styling was done in one file and the rest were minor things like Kendo and jQuery UI.  </p>
  
  <p>The other, minor stuff wasn't being added to the page. I thought the styles had been modified by another developer (haven't touched this project in a while) who was only testing the Web API stuff and not the UI so he could have wrecked it and never known, but I tracked down the problem: only the <code>site.css</code> file was being included in the bundle and none of the other ones. I even tried rearranging the order of the CSS files included in the bundle and it would ONLY include <code>site.css</code>.  </p>
  
  <p>I rebuilt the project, cleared the cache, etc., so it was definitely seeing changes. I remember updating some NuGet packages or VS packages or something lately - possibly even the MVC package?  </p>
  
  <p>My question is: Did something change that made this happen? What's causing this?</p>
  
  <p><strong>EDIT</strong>: Code from <code>BundleConfig.cs</code>:</p>
  
  <pre><code>public static void RegisterBundles(BundleCollection bundles)
  {
      bundles.Add(new StyleBundle("~/Content/css").Include(
              "~/Content/site.css",
              "~/Content/themes/kendo/kendo.common.min.css",
              "~/Content/themes/kendo/kendo.default.min.css",
              "~/Content/themes/base/minified/jquery.ui.core.min.css",
              "~/Content/themes/base/minified/jquery.ui.resizable.min.css",
              "~/Content/themes/base/minified/jquery.ui.selectable.min.css",
              "~/Content/themes/base/minified/jquery.ui.accordion.min.css",
              "~/Content/themes/base/minified/jquery.ui.autocomplete.min.css",
              "~/Content/themes/base/minified/jquery.ui.button.min.css",
              "~/Content/themes/base/minified/jquery.ui.dialog.min.css",
              "~/Content/themes/base/minified/jquery.ui.slider.min.css",
              "~/Content/themes/base/minified/jquery.ui.tabs.min.css",
              "~/Content/themes/base/minified/jquery.ui.datepicker.min.css",
              "~/Content/themes/base/minified/jquery.ui.progressbar.min.css",
              "~/Content/themes/base/minified/jquery.ui.theme.min.css"));
  }
  </code></pre>
  
  <p>Code from <code>_Layout.cshtml</code>:</p>
  
  <pre><code>@Styles.Render("~/Content/themes/base/css", "~/Content/css")
  </code></pre>