Create a config or INI file to store user settings preferences
<p>I wrote an application that can be ran in two different modes: test or not. I also have the ability to trace according to a flag. I would like to have a config or INI file to set those flags in order to prevent changing the code every time I want to set those flags. I am not sure how to make it.
Do I need to add new item: application config file through visual studio? Or do I need to create a INI file? Will it let me to change the values from the installation folder without having to change the code?</p>

<p>I tried to add an application config file to the project but I am not able to set my own values:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
&lt;configuration&gt;
   &lt;userSettings&gt;
      &lt;add key="TestEnvironment" value="true" /&gt;
      &lt;add key="Tracing" value="true" /&gt;
   &lt;/userSettings&gt;
&lt;/configuration&gt;
</code></pre>

<p>I am getting 7 warnings:
the main one is: Could not find schema information for the element userSettings</p>