Share via


Fixing jQuery intellisense error for Visual Studio 2008

It happens to you if you are a developer or debugger running VS 2008 and trying to use JavaScript intellisence for your favorite JS library. This just does not happen *only* to jQuery but any Visual Studio JScript document (-vsdoc.js)

You wont get intellisence and you may get warning in VS Error List that look like following :

Warning    1    Error updating JScript IntelliSense: C:\Users\someone\Documents\Visual Studio 2008\Projects\WebApplication1\WebApplication1\script\jquery-1.3.1.min.js: Object doesn't support this property or method @ 18:8308    C:\Users\someone\Documents\Visual Studio 2008\Projects\WebApplication1\WebApplication1\Default.aspx    1    1    WebApplication1

This is a bug in VS 2008 and you have a fix to this issue. You would require SP1 for Visual Studio 2008 before applying the hotfix.

Download from code.msdn.microsoft.com here.

https://code.msdn.microsoft.com/KB958502/Release/ProjectReleases.aspx?ReleaseId=1736

image

Once you are done, you are a happy programmer again smile_wink!!