A tool that updates the configuration files in published applications, without overwriting existing settings.
- *.exe.config
- appsettings.json
- web.config
ConfigUpdater.exe "path1" "path2"
"path1"
= Source folder or file path
Example:
"C:\Path\To\SourceFolder\appsettings.json"
"path2"
= Target folder or file path
Example:
"C:\Path\To\TargetFolder\appsettings.json"
ConfigUpdater.exe "path" "oldValue" "newValue"
"path"
= File path
Example:
"C:\Path\To\main.js"
"oldValue"
= Value to look for
Example:
"http://localhost:9000"
"newValue"
= Value to be replaced by
Example:
"https://mywebsite.mydomain.com"