How do I access the ApplicationSettings section from another assembly?
Posted
by Calanus
on Stack Overflow
See other posts from Stack Overflow
or by Calanus
Published on 2009-06-29T15:45:55Z
Indexed on
2010/03/26
2:03 UTC
Read the original article
Hit count: 351
I have a dll that is referenced by the parent (executing) assembly. In the ApplicationSettings section of the app.config for the parent assembly I have some settings that can be accessed in the normal intellisense manner (e.g. Properties.Settings.Default.SMTPServer).
How do I access these settings from the referenced dll? I obviously can't use intellisense as they are not in the same assembly!
© Stack Overflow or respective owner