Okay, I just installed the Web Deployment Projects 2005. I am trying to get it to change out the connection strings for me depending on if I want it to build Live or Debug version. There must be something I'm missing, not understanding or doing wrong. I added my website to a web deployment project. then in the deplo Property Pages under Deployment I selected Enable Web.config file section replacement. Next I typed in connectionStrings=Debug.config for my Debug configuration and connectionStrings=Live.config for my Release configuration.
I created those files and all they have in them is the connectionStrings section the names of the pages are typed correctly, but when I try to test it I don't see it changing the Web.config file. I tried taking out connection strings from the Web.config file and get an error message saying it can't find the connection. I tried debugging in Debug and release and keep getting the same connection string. I tried build site then open the config file to see if it is altered but it's not. I tried publishing the site but still no difference in the connection string.
Any help is greatly appreciated.
Josh