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

前端 未结 5 511
孤独总比滥情好
孤独总比滥情好 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:32

    Something along the lines of

    
        Dev
    
    
    ...$(CfgFileName).config...
    

提交回复
热议问题