Replace web config *elements* with msdeploy parameters

后端 未结 1 1988
野性不改
野性不改 2021-02-04 01:46

We\'re using msdeploy (or web deploy if you wish) to package and deploy web apps. By declaring parameters package time we can provide values at deploy time (to replace connectio

1条回答
  •  心在旅途
    2021-02-04 02:18

    For posterity...

    You just need to add "/text()" to the end of the match. That will change the value of enclosed by the tags. However, this value cannot be empty in the source web.config. So when you build the deployment package using the "Release" solution configuration, the web.Release.config must not set this value of the setting to an empty value.

    
      
    
    

    0 讨论(0)
提交回复
热议问题