Pradeep Kumar
Pradeep Kumar

Reputation: 45

No intellisense for Jquery in Visual Studio

Even after adding Jquery reference from Solution Explorer, there is no intellisense occurring after the dot(.) mark.

BElow is my code snippet

Upvotes: 0

Views: 3153

Answers (1)

Mr Qian
Mr Qian

Reputation: 23760

No intellisense for Jquery in Visual Studio

Please try these steps:

First, make sure that you have installed JQuery nuget package in your project.

1) disable third party extensions under Extensions menu in case some extensions cause this behavior.

2) close VS Instance, delete .vs hidden folder(a hidden folder which is in the same directory as the xxx.sln), bin, obj folder, restart your project and then test again.

3) add this on the top of your current page:

///<reference path="Scripts/jquery-3.5.0.js" />

In addition, if you still face this issue, you could try to create a new web application project and then test whether it is an issue of your current and if it works, you could migrate your old project into your new project.

Upvotes: 3

Related Questions