title: log4net: Use AssemblyInfo.cs variables
body: <p>Is there a way to access the assembly variables from within the log4net config tag?  Currently we specify the log folder as follows:</p>
  
  <pre><code>  &lt;!-- Setup Rolling Log File to log all information --&gt;
    &lt;appender name="DebugFileAppender" type="log4net.Appender.RollingFileAppender" &gt;
      &lt;file value="${ProgramData}\\MyCompany\\MyProduct\\log\\Debug" /&gt;
      &lt;appendToFile value="true"/&gt;
      ....
  </code></pre>
  
  <p>Is there a way to replace MyCompany and MyProduct with a variable which then reads the values from the project's AssemblyInfo.cs file?  Something similar to the '${ProgramData}'.</p>
  
  <p>I have seen posts on how to setup a log4net variable that I could then reference later but I am hoping to reuse this config file among many projects without having to modify the code.</p>