How do I change an web.config setting using transformation syntax?

后端 未结 4 635
甜味超标
甜味超标 2021-02-05 07:05

I have a value stored in my web.config file that I would like to change when the site is published. I want to change it from TEST to LIVE.


           


        
4条回答
  •  感动是毒
    2021-02-05 07:36

    You can also use the CTT tool for performing web transformation CTT Website You can then after publishing your files, before deployment using powershell can transform the web config (keeping a transform file) and then simply change the name during deployment

提交回复
热议问题