WebConfigSetter:
- Aggiunta gest ServerConf in sostituzioni previste
This commit is contained in:
@@ -323,6 +323,17 @@ namespace WebConfigSetter
|
||||
}
|
||||
}
|
||||
}
|
||||
if (currJsonConf["ServerConf"] != null)
|
||||
{
|
||||
foreach (var keySubst in currConfig.jsonConnStrRules)
|
||||
{
|
||||
if (currJsonConf["ServerConf"][keySubst.Key] != null)
|
||||
{
|
||||
currJsonConf["ServerConf"][keySubst.Key].Replace(keySubst.Value);
|
||||
changed = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
string newFileData = JsonConvert.SerializeObject(currJsonConf, Newtonsoft.Json.Formatting.Indented);
|
||||
if (changed)
|
||||
|
||||
Reference in New Issue
Block a user