title: NLog is not logging anything
body: <p>Nlog won't protocol anything, although I have following files in my project:</p>
  
  <p><img src="https://i.stack.imgur.com/7KKlL.jpg" alt="enter image description here"></p>
  
  <p>NLog.config looks like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
  
    &lt;!-- make sure to set 'Copy To Output Directory' option for this file --&gt;
    &lt;!-- go to http://nlog-project.org/wiki/Configuration_file for more information --&gt;
  
    &lt;targets&gt;
      &lt;target name="logfile" xsi:type="File"
              fileName="${basedir}/log/${shortdate}.log" /&gt;
    &lt;/targets&gt;
  
    &lt;rules&gt;
      &lt;!--
      Trace
      Debug
      Info
      Warn
      Error
      Fatal
      --&gt;
      &lt;logger name="*" minlevel="Debug" writeTo="logfile" /&gt;
    &lt;/rules&gt;
  &lt;/nlog&gt;
  </code></pre>
  
  <p>Following code should protocoll message in Debugmodus, but it doesn't do anything. I always will get message of Messagebox! Why? Of course, I'm running application  in Debug(Any CPU), not in Release mode</p>
  
  <pre><code>LogLevel level = LogLevel.Debug;
  Logger _logger = LogManager.GetCurrentClassLogger();
  _logger.IsEnabled(level);
  if(!_logger.IsDebugEnabled &amp;&amp; !_logger.IsErrorEnabled &amp;&amp; !_logger.IsInfoEnabled) {
  MessageBox.Show("Protocolation not activated!" + Environment.NewLine + "Abbruch");
  }else
  _logger.Debug("Protocol item has been written into logfile!");
  </code></pre>
  
  <p>ReEditing:
  This is app.config looks like:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;configuration&gt;
    &lt;runtime&gt;
      &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name="NLog" publicKeyToken="5120e14c03d0593c" culture="neutral" /&gt;
          &lt;bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /&gt;
        &lt;/dependentAssembly&gt;
      &lt;/assemblyBinding&gt;
    &lt;/runtime&gt;
  &lt;/configuration&gt;
  </code></pre>