visual studio 2008 - Conditionally selecting a version of jquery depending on environment -


I have 2 references in my master page that are currently configured for production release:

< Pre> & lt; Script type = "text / javascript" src = "http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" & gt; & Lt; / Script & gt; & Lt;% - & lt; Script type = "text / javascript" src = "../ script / jquery-vsdoc.js" & gt; & Lt; / Script & gt; -% & gt;

When I am developing, then I reject the VSOX version so that I can take the Intelation in VS 2008 and then switch it back before deploying it - I Except time, which I can forget. Is there a way that depth and depth of Google Cdn can be used in Dev, whose deployment is not needed to edit? That is, a conditional simulation depends on the environment ...

EDIT: If I specify this file: VS 02008 (with patch) as my JavaScript file will see this file: (with - vs. doc .js) The problem with using for Intellisense is that Google does not provide the second named file at that location.

Another acceptable answer will be the answer to this question: "How can I put jquery.min-vsdoc.js in Google's file?"

(Because the document does not host the document) The documentation script refers to a method that will never be included, for example

  & lt;% if (wrong) {%> & Lt; Script type = "text / javascript" src = "../ script / jquery-vsdoc.js" & gt; & Lt; / Script & gt; & Lt;%}% & gt;  

OR

  & lt; Asp: placeholder runat = "server" visible = "false" & gt; & Lt; Script type = "text / javascript" src = "../ script / jquery-vsdoc.js" & gt; & Lt; / Script & gt; & Lt; / ASP: Placeholder & gt;  

Comments