web.config file transform from command line

前端 未结 4 1679
暖寄归人
暖寄归人 2020-12-08 02:27

I have two build environments to target; Release and Staging. The Web.config looks like this:

     
    

        
4条回答
  •  死守一世寂寞
    2020-12-08 03:27

    Tiny improvement over Jonathan's answer:

    Using this line below for importing the web targets will allow to be compatible with any Visual Studio version. Note this is not tied to version v10.0

    
    

提交回复
热议问题