Adding a script to a view generally involves something like this:
<script src="../../Scripts/jquery-1.3.1.min.js" type="text/javascript"></script>
Unfortunately, this doesn't work if the app is deployed in a virtual directory under IIS 6. The alternatives discussed here involve using Url.Content with "~" to resolve the path dynamically, but this completely breaks JS IntelliSense.
Is there a way to get around this and make IntelliSense work without losing the ability to deploy the app in a virtual directory?