Can I force a DLL to reload its configuration?
In my VB library, I use this configuration:
<applicationSettings>
<ComWrapper.My.MySettings>
<setting name="MySetting" serializeAs="String">
<value>This is an entry</value>
</setting>
</applicationSettings>
Unable to access "MySetting" value from code:
Public Function GetSetting() As String
Return ComWrapper.My.MySettings.Default.MySetting
End Function
but it looks like the value "This entry" is embedded in the dll code. If I change it in app.config or in ComWrapper.dll.config file, it will not affect the return value.
source
share