title: Adding scripts to *.cshtml using Url.Content
body: <p>I'm experiencing such a problem. Using the code</p>
  
  <pre><code>@* stylesheets *@
  &lt;link href="@Url.Content("~/Content/Stylesheets/site.main.css")" rel="stylesheet" type="text/css" /&gt;
  @* scripts *@
  &lt;script src="@Url.Content("~/Scripts/jquery-1.7.1-vsdoc.js")" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>all is referenced normally but scripts. Therefore to use JavaScript I need to specify path like: </p>
  
  <pre><code>&lt;script src="../../Scripts/jquery-1.7.1-vsdoc.js"type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>What's wrong with <code>Url.Content</code>?</p>
  
  <p>Thanks!</p>