title: Use user.config instead of app.config
body: <p>Can someone give me a simple example on how to user user-settings instead of application-settings? I need to have user-specific Microsoft Unity section, but the config won't be created for the user on application startup. Also, I can't use the Visual Studio gui to create those settings. I need to modify some of the mappings during runtime as well.</p>
  
  <p>This is what I need in the User-Config (which should be placed in the user's appdata)</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;configuration&gt;
        &lt;configSections&gt;
          &lt;section name="MyUnityContainer" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection, Microsoft.Practices.Unity.Configuration" /&gt;
        &lt;/configSections&gt;
        &lt;connectionStrings&gt;
          &lt;add name="MyProgram.Properties.Settings.MyConnectionString" connectionString="aConnectionString" /&gt;
        &lt;/connectionStrings&gt;
        &lt;MyUnityContainer&gt;
          &lt;typeAliases&gt;
            &lt;!-- type aliases --&gt;
          &lt;/typeAliases&gt;
          &lt;containers&gt;
            &lt;container&gt;
              &lt;types&gt;
                &lt;!-- types --&gt;
              &lt;/types&gt;
              &lt;extensions&gt;
                &lt;add type="Microsoft.Practices.Unity.InterceptionExtension.Interception, Microsoft.Practices.Unity.Interception" /&gt;
              &lt;/extensions&gt;
              &lt;extensionConfig&gt;
                &lt;add name="interception" type="Microsoft.Practices.Unity.InterceptionExtension.Configuration.InterceptionConfigurationElement, Microsoft.Practices.Unity.Interception.Configuration"&gt;&lt;/add&gt;
              &lt;/extensionConfig&gt;
            &lt;/container&gt;
          &lt;/containers&gt;
        &lt;/MyUnityContainer&gt;
     &lt;/configuration&gt;
  </code></pre>
  
  <p>I need to load this on application startup, but the config file for the user will not be created! How can I make my program create the user-specific config automatically during startup, if it does not exist already?</p>