Update variable outside appSettings in config file

I updated the variables inside appsettings using config Variables features
but I need to update “commonConfigPath” variable in myfile.exe.config which is outside of appsettings.
Please see the code below how it was structured.

<?xml version="1.0" encoding="utf-8"?>
<cambridgeConfiguration commonConfigPath="..\..\..\..\Cambridge.config">
      <add setName="ONLINE" />
      <add setName="xxxxxxxxxxxx" />

I tried Substitute Variables feature but it seems not working, Should the variable value be like #{variable} for this feature to work?

Or else can you please suggest any other solution.


Hi Amulya,

Thanks for getting in touch.

We have docs that show you how you can achieve that.

I hope that helps.

Thank you and best regards,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.