You can use the settings in the shared file, most likely stored in AppData in the user settings folder
The advantage here is that you do not need to change any code at all.
The application will save its settings in its usual configuration file and refer to the common file for dll settings:
<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings file="commondll.config"> <add key="KeyToOverride" value="Original" /> <add key="KeyToNotOverride" value="Standard" /> </appSettings> </configuration>
then in the general commondll.config file:
<appSettings> <add key="KeyToOverride" value="Overridden" /> <add key="KeyToBeAdded" value="EntirelyNew" /> </appSettings>
source share