Author: chobo2 | Posted on: 6/24/2010 8:15:10 PM | Views : 342

Hi

I am trying to use the debug and release versions of the webconfig but it never works. I am trying to do this for a 3rd party library that I am using called combres.

http://combres.codeplex.com/

So I first put all the needed web.config code in the web.config. Now I have 2 different .xml files(thats where you put your javascript and css paths).

So production will have a different .xml path and so will debug.

So I moved this one line to the release and debug of the web.config and changed the path of the xml file.

        // release webconfig
        <combres definitionUrl="~/App_Data/Combres.xml" />
    
       // debug webconfig
       <combres definitionUrl="~/App_Data/CombresDevelopment.xml" />

I get this
Go to the complete details ...