Have you tried saving the .settings file in your DLL project, and then using your operator [] to access the property by name?
For example, let's say your DLL has a MySettings.settings file that has nothing special in it:
MySettings.Default ["SomeSetting"];
(Notice, I have not actually tried this, but upon thinking it seems like it should work)
I think the best solution would be to take Chrisโs advice and use a singleton or IOC mechanism, so you donโt have to sacrifice type safety.
source share