Search code examples
asp.netweb-configvisual-web-developerone-click-web-publishing

Visual Web Developer 2010 Express Web.config transform question


I cannot for the life of me figure out how to force Visual Web Developer 2010 Express to use my Web.Release.config when I'm publishing my web application. I'm using FTP to publish my webapp to a remote server. Each time I publish, the build uses my Web.Debug.config.

I know I'm overlooking something simple and would really appreciate a clue.

Respectfully,

Ray


Solution

  • In Visual Web Developer Express (2010), selecting the build is simply a matter of clicking on the drop down to the right of the green "Start Debugging" button. Debug will use your debug web.config and release will use your release web.config.

    When publishing, click the drop down and select Release. Then publish as normal.