I created a settings file.
There is a field UseXmlPatternForTestServer which i a bool. I set the scope to appplication and value to True. I can see it added some content to the .config file.
After compilation a modified the .config file in build directory:
<configuration>
<applicationSettings>
...
<Logic.Properties.Settings>
<setting name="UseXmlPatternForTestServer" serializeAs="String">
<value>False</value> // **modified to false**
</setting>
</Logic.Properties.Settings>
</applicationSettings>
</configuration>
Even though the value is set to False, the line below returns True. Why? And how can I get the current value from the config file?
Properties.Settings.Default.UseXmlPatternForTestServer // returns true
edit
All the settings above are in a class library project referenced by my app. Maybe that's the problem?