I have a C# class library project and I am using appsettings.json to read values.
I have one MS Test (unit test) project and I am maintaining another appsettings.json file
appsettings.json file in C# Class library project:
{
"name" : "jack"
}
appsettings.json file in MS Test project:
{
"name" : "Mike"
}
My requirement is when I run the unit test the value "name" in the appsettings.json file in the C# class library project needs to be replaced with appsettings.json file in the MS Test project.