title: 'ILoggingBuilder' does not contain a definition for 'AddNLog' and no extension method 'AddNLog' accepting a first argument of type 'ILoggingBuilder'
body: <p>I am trying to configure <code>NLog</code> in my <code>Azure Function</code> solution, unfortunately I am getting an error as below.</p>
  
  <blockquote>
    <p>'ILoggingBuilder' does not contain a definition for 'AddNLog' and no
    accessible extension method 'AddNLog' accepting a first argument of
    type 'ILoggingBuilder' could be found</p>
  </blockquote>
  
  <p>Please be noted that I had already installed the <code>NLog</code> Nuget package to my project. Here is the code I am using in my <code>Startup.cs</code> file.</p>
  
  <pre class="lang-cs prettyprint-override"><code>using Microsoft.Azure.Functions.Extensions.DependencyInjection;
  using Microsoft.Extensions.DependencyInjection;
  using NLog;
  
      [assembly: FunctionsStartup(typeof(Adapter.Startup))]
      namespace Adapter {
          public class Startup: FunctionsStartup {
              public override void Configure(IFunctionsHostBuilder builder) {
                  builder.Services.AddHttpClient();
                  builder.Services.AddLogging(logBuilder = &gt;{
                      logBuilder.AddNLog();
                  });
              }
          }
      }
  </code></pre>
  
  <p>Have you ever faced this issue?</p>