Say I add a link to jQuery as follows in MVC3
<script src="@Url.Content("~/Scripts/jq.js")" type="text/javascript"></script>
Now the scripts folder also has the -vsdoc file but I won’t get the intellisense unless I add the script file like this:
<script src="../../JS/jq.js" type="text/javascript"></script>
Is there a way around this?
Unfortunately this feature is not supported. Read Section 4. Which URL-path types does IntelliSense recognize? in this page.