locked
MSBUILD Production Uat app.config transformation RRS feed

  • Question

  • Hi, 

    I have a windows desktop applicatioan with couple of wcf services for backend. Also we use application config transformation for Production, Test and Uat enviroment. The section of wcf configuration is quite massive, where server name(within service endpoint) is dublicated. On any transformed config(production uat) i need to replace(xdt:Transform="Replace">) the whole wcf section, despite that i need to changed just the server name, which is annoying for me. Is it possible to have a variable like <key name="server" value="server1">, where  I can use within wcf configuration section. So on transformed application config i can replace that variable(<key name="server" value="server2">) which could avoid specifing wcf configuration section.

    If there any other solution which could save me from replacing wcf config section will glad to hear.

    Thanks

    • Moved by Ego Jiang Tuesday, July 16, 2013 9:13 AM
    Wednesday, July 3, 2013 11:43 AM

Answers

All replies