title: In ASP.NET MVC, why do my custom JavaScript files not work in /Scripts?
body: <p>I can successfully include main jquery files in /Scripts, but if my custom test.js file is in Scripts, it will not work:</p>
  
  <pre><code>&lt;script type="text/javascript" src="&lt;%= this.ResolveClientUrl ("~/Scripts/jquery-1.2.6.js") %&gt;"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="&lt;%= this.ResolveClientUrl ("~/Scripts/test.js") %&gt;"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>However, when I move my custom test.js file to /js, everything works fine:</p>
  
  <pre><code>&lt;script type="text/javascript" src="&lt;%= this.ResolveClientUrl ("~/Scripts/jquery-1.2.6.js") %&gt;"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="&lt;%= this.ResolveClientUrl ("~/js/test.js") %&gt;"&gt;&lt;/script&gt;
  </code></pre>
  
  <p><strong>Why is that?</strong> </p>