To All:
I have written a DLL using C# that has a config file called <DLLName>.dll.config. The trouble is, the DLL's config file never seems to be read unless I open the code, go to the tab that defines the config, change the value and rebuild. It seems it only exists in code?
I also have an EXE with a config that works fine and re-reads automatically at startup. Also I can refresh it anytime during execution. This is exactly what I want.
I guess EXE and DLL's config work differently but what's the rule?
Thanks!
I have written a DLL using C# that has a config file called <DLLName>.dll.config. The trouble is, the DLL's config file never seems to be read unless I open the code, go to the tab that defines the config, change the value and rebuild. It seems it only exists in code?
I also have an EXE with a config that works fine and re-reads automatically at startup. Also I can refresh it anytime during execution. This is exactly what I want.
I guess EXE and DLL's config work differently but what's the rule?
Thanks!