title: Bundling JQuery in ASP.NET Web Forms 4.5
body: <p>I used Visual Studio 2012 and the built-in template (under Add -> New Project) to create a brand new ASP.NET Web Forms web application project.  Inside the Site.Master page provided by default I see some markup targeting JQuery, which is included down below.</p>
  
  <p>How does ASP.NET figure out the paths necessary to include JQuery, given the following mark up?</p>
  
  <pre><code>&lt;asp:ScriptManager runat="server"&gt;
      &lt;Scripts&gt;
          &lt;%--Framework Scripts--%&gt;
          &lt;asp:ScriptReference Name="MsAjaxBundle" /&gt;
          &lt;asp:ScriptReference Name="jquery" /&gt;
          &lt;asp:ScriptReference Name="jquery.ui.combined" /&gt;
          &lt;asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" /&gt;
          &lt;asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" /&gt;
          &lt;asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" /&gt;
          &lt;asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" /&gt;
          &lt;asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" /&gt;
          &lt;asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" /&gt;
          &lt;asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" /&gt;
          &lt;asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" /&gt;
          &lt;asp:ScriptReference Name="WebFormsBundle" /&gt;
          &lt;%--Site Scripts--%&gt;
      &lt;/Scripts&gt;
  &lt;/asp:ScriptManager&gt;
  </code></pre>
  
  <p>I don't see anywhere a config file or code that would resolve jquery to "~/Scripts/jquery-1.7.1.js".  I see a packages.config file but it doesn't explicitly describe the path that must be being calculated somehow.  </p>
  
  <p>Does anyone know how the path to JQuery's javascript file is resolved at runtime?</p>