If I create app.config for my main application, I can use it using:
string test = Properties.Settings.Default.LibTest;
Where on app.config you can find:
<applicationSettings> <RManager.Properties.Settings> <setting name="LibTest" serializeAs="String"> <value>ola lib</value> </setting> </RManager.Properties.Settings>
The question is, do I have a class library, is there a way to access the same settings using:
string libString = Properties.Settings.Default.LibTest;
If not, what is the best solution to access the settings from the main application?
source share