I am using Visual Studio 2019 to create a Restful Web API in C# using ASP.NET Core 3.1. I am trying to replace a value (AppSettings.ReleasePipeline) in my appsettings.json file in the release pipeline to different values for each stage, but it is not getting set on any stage and is just using the value in the appsettings.json file that is already there.
Here is my appsetttings.json file:
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"CodeCampDatabaseConnectionString": "Data Source=.;Initial Catalog=PSCodeCamp;User Id=sa;Password=Dallas!@#;Connect Timeout=30;"
},
"AppSettings": {
"ReleasePipeline" : "Environment from AppSettings"
}
}
The variables in my release pipeline, look like this:

If someone could assist, I would really appreciate it.