Saturday, May 2, 2009

Mea Culpa re jQuery Intellisense

Prior to direct integration into their Visual Studio product, Microsoft has gone to great lengths to make jQuery easy to use with VS2008. More specifically, they've provided a special patch that provides Intellisense support for jQuery development.

Try as I might though, I just couldn't get it installed on my computer. Whenever I tried, it told me that the supported product was not installed on my machine. Naturally I thought this was because I was running the 64-bit edition of Vista, which has caused some minor compatibility problems before.

I was incorrect. Thanks to the persistence of two Microsoft employees, Vishal Joshi and Joe Cartano, I finally realized my error: I did not have VS2008 SP1 installed. I thought I did for several reasons, not the least of which was because it was not appearing in Windows Update. In fact, when I first looked at the About screen to check, I saw "SP1" there ... but only later realized that it was for the .Net Framework v3.5, not for Visual Studio itself! Here's a screenshot showing you what to look for:

If that "SP" (circled in red) is not present then it's not installed.

So I installed SP1. It took about 20 minutes and then I had to restart Windows. After that I ran the patch, which is also known as "Hotfix KB958502". This time it recognized VS2008 and ran perfectly fine.

There is more to do though to get jQuery Intellisense working. I will describe the steps in my next post.

11 comments:

  1. Thanks dude. I had exactly the same problem...even looked at .NET SP1 and thought I had VS 2008 SP1. Very frustrating when everyone else is saying it's so easy :)

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Hi Robert,

    Thank you very much for this post!

    I could figure out why jQuery Intellisense wasn't functioning as expected.

    Kind regards,

    Leniel Macaferi
    http://leniel.net

    ReplyDelete
  4. Leniel,

    You're most welcome! I always figure that if something isn't immediately obvious to me then others can probably benefit from it too ... or else I haven't drank enough coffee that day! :-)

    Robert

    P.S. You have a great blog!

    ReplyDelete
  5. hello! thanks for your post!
    this is really helpful!

    but this page send requests to http://www.blogger.com/rpc_relay.html#comment-editor every 2-3 seconds. does it works as in intended to?

    thanks again

    ReplyDelete
  6. Unforunately I have the same issue but SP is installed and shown in the about dialog as you mention... bummer :(

    ReplyDelete
  7. Thank you. This issue started to get on my nerves.

    ReplyDelete
  8. Thanks for the post. I was running into the very same thing and realized, like you, I have SP1 installed for the framework, but not VS2008.

    ReplyDelete
  9. wow , man :) I was looking for solution on my problem for about half day and now i see i dont have VS SP1 :) In a place where should i have SP1 i have RTM, but i have already .NET Framework SP1. Thx for screenshot.

    ReplyDelete
  10. I have web developer express 2008 ...the sp1 does not work there...what to do?

    ReplyDelete
  11. Thanks, I ran into the same problem. Whoever designed the VS2008 'about' menu did a bad job.

    ReplyDelete