JQuery as embedded resource in ASP.NET and VS 2008

JQuery as embedded resource in ASP.NET and VS 2008

Hi,
I am trying to use jquery as an embedded resource in my asp.net web site.
The jquery.js and jquery-vsdoc.js file in in a folder named "Javascripts" under the root folder: myWebSite\Javascript.

In my asp.net application I have a master page. I have added a script reference to jquery like this:

   <asp:AjaxScriptManager ID="AjaxScriptManager" runat="server" EnablePartialRendering="true" EnableScriptGlobalization="true" EnableScriptLocalization="true">
    <Scripts>
        <asp:ScriptReference Path="~/Javascript/jquery.js"/>
    </Scripts>
    </asp:AjaxScriptManager>

I have extraced all javascript functions to external js files and I reference jquery in those files like this:

/// <reference path="~/Javascript/jquery.js"/>

This works fine. I get the jquery intellisense and everything works perferct.

But I now would like to add jquery.js and jquery-vsdoc.js as an embedded resource.
I started with changing the Build action property for those 2 files to Embedded Resource
Then I changed the reference in the external js file to :

/// <reference name="jquery.js" assembly="myWebsite"/> and now I have lost the intellisense for jquery. What am I doing wrong?

Could someone provide me with the correct way of adding jquery as an embedded resource and still be able to use the jquery intellisense? I have installed the VS hotfix for enabling intellisense.

Best regards,

OKB