title: app.config inside Visual Studio Extension?
body: <p>I have created a Visual Studio extension representing a Visual Studio Project wizard (vsix package).  I am attempting to wire up log4net, and this has been unsuccessful.  I have chased the issue down to my app.config not being loaded properly.</p>
  
  <p>I have added this to my app.config in my visual studio extension:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;configuration&gt;
    &lt;appSettings&gt;
      &lt;add key="test" value="hello world"/&gt;
    &lt;/appSettings&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>and within my IWizard implementation, I have added this line of code:</p>
  
  <pre><code>var test = System.Configuration.ConfigurationManager.AppSettings["test"];
  </code></pre>
  
  <p>However, the <code>test</code> variable above is always null when debugging.</p>
  
  <p>I have verified these things:</p>
  
  <ul>
  <li>App.config is set to Build Action: Content</li>
  <li>App.config is set to Copy to Output Directory: Copy Always</li>
  <li>App.config is set to Include in VSIX: True</li>
  <li>App.config file is present in my <code>C:\Users\&lt;user&gt;\AppData\Local\Microsoft\VisualStudio\16.0_...\Extensions\&lt;Name&gt;\&lt;Company&gt;\1.0</code> folder</li>
  </ul>
  
  <p>What am I missing?  And if App.config is not allowed within VSIX extension development, how would you go about wiring up log4net?</p>