title: Reload app.config section while app is running
body: <p>I've been reading and searching for how to make this work but I can't manage to get my app to reload or refresh it's loaded settings. This is a section I have in my exe.config:</p>
  
  <pre><code>  &lt;runtime&gt;
      &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name="Tekla.Structures.Model" publicKeyToken="2f04dbe497b71114" culture="neutral" /&gt;
          &lt;bindingRedirect oldVersion="17.0.0.0-99.1.0.0" newVersion="18.1.0.0"/&gt;
        &lt;/dependentAssembly&gt;
      &lt;/assemblyBinding&gt;
    &lt;/runtime&gt;
  </code></pre>
  
  <p>I need to change the newVersion to 18.0.0.0 which I can do easily. The problem is once I do, I can't get the app to load that information without starting the app from scratch manually.</p>
  
  <p>I've tried all these combinations based on my searches but none seem to work:</p>
  
  <pre><code>System.Configuration.ConfigurationManager.RefreshSection("runtime");
  System.Configuration.ConfigurationManager.RefreshSection("assemblyBinding");
  System.Configuration.ConfigurationManager.RefreshSection("runtime/assemblyBinding");
  System.Configuration.ConfigurationManager.RefreshSection("runtime/assemblyBinding/dependentAssembly");
  System.Configuration.ConfigurationManager.RefreshSection("runtime/assemblyBinding/dependentAssembly/bindingRedirect");
  </code></pre>
  
  <p>What do I need to do to get this to reload?</p>