title: ScriptBundle dependencies
body: <p>I'm having difficulties getting the <code>ScriptBundle</code> to work properly (if this is supposed to work at all). What I'm trying to do is add another bundle (jQuery) as a dependency to my bundle, like so:</p>
  
  <pre><code>bundles.Add(new ScriptBundle("~/js/myscripts")
                      .Include("~/js/jquery",
                               "~/Content/scripts/myscript.js"));
  </code></pre>
  
  <p><code>~/js/jquery</code> is the "name" (virtual path) of the jQuery bundle, registered as so (before my dependent bundle):</p>
  
  <pre><code>bundles.Add(new ScriptBundle("~/js/jquery")
                      .Include("~/Content/scripts/jquery-{version}.js"));
  </code></pre>
  
  <p>When I do <code>@Scripts.Render("~/js/myscripts")</code> in my view, only <code>myscript.js</code> is rendered to the HTML. If I change the virtual path to jQuery from the one in the name of the bundle to the physical, existing one, it works:</p>
  
  <pre><code>bundles.Add(new ScriptBundle("~/js/myscripts")
                      .Include("~/Content/scripts/jquery-{version}.js",
                               "~/Content/scripts/myscript.js"));
  </code></pre>
  
  <p>Also, doing <code>@Scripts.Render("~/js/jquery")</code> in the view, works. It's just referencing the non-existing virtual path (name) of another <code>ScriptBundle</code> that doesn't work. Is this supposed to work at all? If not, I would like to know where I can post a bug report saying that this scenario should throw an exception if it's not supported. If it is supported, where does it say and why doesn't it work?</p>