aserwin aserwin - 5 months ago 13x
Javascript Question

MVC 4 and jQuery intellisense - is there a better way?

I am trying to enable intellisense for jQuery 2 in Visual Studio 2012.
The only way I can find to make it work is to add the

@if (false) {<script src="path/to/jquery-2.0.0.min.js" type="text/javascript" />}

to EVERY view that I want to use jQuery in.
To put it simply, this is not acceptable.
Is there another way to handle this?


open - package manager console write

Install-Package jQuery

and it will automatically install the files that you need.