.NET Core - Set Environment Variable in Azure Deployment Task

前端 未结 3 1482
离开以前
离开以前 2021-02-18 18:01

I\'m currently trying to use the launchSettings.json file to manage the environment variables of the application, so my Setup.cs file can manage the en

3条回答
  •  再見小時候
    2021-02-18 18:56

    You can install the Replace Token extension and then add a Replace Token task in your build/release definition. This task could replace the strings in a file with the variable value you added in the build/release definition.

提交回复
热议问题