Web.config transformation: how to apply a transformation to all node matching a Locator expression?

后端 未结 1 1961
眼角桃花
眼角桃花 2021-01-05 01:05

I\'ve recently discovered the web.config automatic transformation in the web deploy tool of visual studio 2010. It\'s working well, but I have a scenario I can\'t seem to ge

相关标签:
1条回答
  • 2021-01-05 01:46

    I've just tried this and using RemoveAll instead of Remove seems to do the trick:

    <services>
      <service>
        <endpoint binding="mexHttpBinding" xdt:Locator="Match(binding)" xdt:Transform="RemoveAll" />
      </service>
    </services>
    
    0 讨论(0)
提交回复
热议问题