G
Guest
Assume I have this in my app.config file
<applicationSettings>
<MyApp>
<setting name="Prefix">
<value>Get</value>
</setting>
</MyApp>
</applicationSettings>
Now, how in the world can I access this setting form MyApp, which this
configuration file is supposed to configure. I want to be able to do this;
sting prefix = <Get the value of Prefix>
This doesn't work Properties.Settings.Default,
Configuration.Settings.Default ... I get errors left and right, there even
isn't such thing as Configuration. Settings .. etc. I don't get it.
<applicationSettings>
<MyApp>
<setting name="Prefix">
<value>Get</value>
</setting>
</MyApp>
</applicationSettings>
Now, how in the world can I access this setting form MyApp, which this
configuration file is supposed to configure. I want to be able to do this;
sting prefix = <Get the value of Prefix>
This doesn't work Properties.Settings.Default,
Configuration.Settings.Default ... I get errors left and right, there even
isn't such thing as Configuration. Settings .. etc. I don't get it.