I hunted high and low:
- I added “///<references path=”Scripts/JQuery-1.6.4.js" to my source
- I checked that there were no errors being reported in any of the sources
Nada. Nothing. It should work, but it wasn’t
I thought I’d check in case there were any JQuery updates published to NuGet, so I opened up the NuGet Package Manager console window in VS and typed the following:
I was surprised to see a number of errors returned, including:
Update-Package : 'jQuery' was not installed in any project. Update failed.
Update-Package : 'jQuery.vsdoc' was not installed in any project. Update failed.
Huh? That’s odd. Let’s see what packages we have installed:
To quote Chris Griffin: ”WHAAAAAAAAAT?” Two versions of JQuery? SRSLY?
I remembered that just a couple of weeks ago, I’d updated my NuGet packages and noticed that a new version of JQuery had been downloaded, the old version appeared to be removed from my project and replaced with JQuery-1.6.4. I thought it had been done right, but I guess something must have gotten screwed up in the upgrade.