Other than the "if(false)" hack, is there any way to get Intellisense working in VS 2010 / MVC when using the server-side Url.Content() method for re-basing Javascript files?
Master Page:
<script src="<%=Url.Content("~/Scripts/jquery-1.4.2.js") %>" type="text/javascript"></script>
I know about the if(false) hack but I was hoping there way a more elegant solution.
if(false) hack:
<% if (false){ %>
<script type="text/javascript" src="../Scripts/jquery-1.4.2.js"></script>
<% } %>
Does Microsoft have any plans to address this issue in future releases of VS?