title: How can I successfully configure Common.Logging?
body: <p>I'm attempting to use NuGet packages to configure Common.Logging to use NLog2 in an ASP.Net MVC project. Based on the information provided at the URLs below, I believe my loggers are configured properly, but I continue to get configuration errors.</p>
  
  <p><a href="http://netcommon.sourceforge.net/docs/2.1.0/reference/html/ch01.html" rel="noreferrer">Common.Logging Configuration Instructions</a></p>
  
  <p><a href="https://github.com/NLog/NLog/wiki/Tutorial" rel="noreferrer">NLog Configuration Tutorial</a></p>
  
  <p>I've added the following to <strong>web.config</strong> as per the instructions:</p>
  
  <pre><code>&lt;configuration&gt;
    &lt;configSections&gt;
        &lt;section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog"/&gt;
        &lt;sectionGroup name="common"&gt;
              &lt;section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" /&gt;
        &lt;/sectionGroup&gt;
      &lt;/configSections&gt;
      &lt;common&gt;
        &lt;logging&gt;
          &lt;factoryAdapter type="Common.Logging.NLog.NLogLoggerFactoryAdapter, Common.Logging.NLog20"&gt;
              &lt;arg key="configType" value="INLINE" /&gt;
          &lt;/factoryAdapter&gt;
        &lt;/logging&gt;
      &lt;/common&gt;
      &lt;nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
        &lt;targets&gt;
          &lt;target name="logfile" xsi:type="file" filename="e:\logfile.txt" layout="${date:format=yyyy/MM/dd HH:mm:ss} ${message}" /&gt;
        &lt;/targets&gt;
        &lt;rules&gt;
          &lt;logger name="*" minlevel="Trace" writeTo="logfile" /&gt;
        &lt;/rules&gt;
      &lt;/nlog&gt; 
      &lt;runtime&gt;
        &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
          &lt;dependentAssembly&gt;
            &lt;assemblyIdentity name="Common.Logging" publicKeyToken="af08829b84f0328e" culture="neutral" /&gt;
            &lt;bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" /&gt;
          &lt;/dependentAssembly&gt;
        &lt;/assemblyBinding&gt;
      &lt;/runtime&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>As far as I can tell, this is everything I should need to do but I'm getting configuration errors when I try to run the web project...</p>
  
  <blockquote>
    <p><strong>Parser Error Message:</strong> An error occurred creating the configuration section handler for common/logging: Unable to create type 'Common.Logging.NLog.NLogLoggerFactoryAdapter, Common.Logging.NLog20'</p>
  </blockquote>
  
  <p>Can anyone offer suggestions on what's missing or in error?</p>