AppHarbor Web.config transforms not being applied

后端 未结 2 1589
暗喜
暗喜 2020-12-20 13:24

I am developing an application in ServiceStack and am trying to sort out deployment on AppHarbor, however for some reason my web.config transforms are not being applied.

相关标签:
2条回答
  • 2020-12-20 13:52

    It sounds like the Web.Release.config file is not included in the build output. You need to set the Build Action attribute to Content to include it in the build output.

    You can confirm whether the file is included in the output by downloading the build from the log page.

    0 讨论(0)
  • 2020-12-20 13:59

    I stumbled across this post because I was seeing the same lack of action myself. Upon closer inspection (about 15 times that is) of my Web.Release.config I realized one of the nodes in my config file was not marked xdt:Transform="Replace". Unsurprisingly it did nothing when deployed.

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