How to conditionally deploy an app.config based on build configuration?

前端 未结 5 491
孤独总比滥情好
孤独总比滥情好 2020-12-02 17:57

I have three custom build configurations { Dev, Qs, Prd }. So, I have three app configs { Dev.config, Qs.config, Prd.config }. I know how to edit the .csproj file to output

5条回答
  •  春和景丽
    2020-12-02 18:31

    How about using a build server?
    Its been a long time since I've worked in .NET but can't you use Hudson(-like) server for managing your build configurations? Isn't it easier?
    And what about NAnt? Doesn't it suit your needs?

提交回复
热议问题