title: using AventStack.ExtentReports gives an error
body: <p>In a YouTube Demo I was given this code and I get this error which has me stumped - 'ExtentReports' does not contain a constructor that takes 2 arguments. is my reference wrong? I am using version 3.03 of ExtentReports</p>
  
  <pre><code>using NUnit.Framework;
  using AventStack.ExtentReports;
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  
      namespace ExtentDemoYoutube
      {
          [TestFixture]
          public class BasicReport
          {
              public ExtentReports extent;
              public ExtentTest test;
  
              [OneTimeSetUp]
              public void StartReport()
              {
                  string pth = System.Reflection.Assembly.GetCallingAssembly().CodeBase;
                  string actualPath = pth.Substring(0, pth.LastIndexOf("bin"));
              string projectPath = new Uri(actualPath).LocalPath;
  
              string reportPath = projectPath + "Reports\\MyOwnReport.html";
  
              extent = new ExtentReports(reportPath, true);
  
              extent.AddSystemInfo("Host Name", "Joe Loyzaga")
                  .AddSystemInfo("Environment", "QA")
                  .AddSystemInfo("User Name", "Joe Loyzaga");
  
              extent.LoadConfig(projectPath + "extent-config.xml");
  
          }
  
          [Test]
          public void DemoReportPass()
          {
              test = extent.StartTest("DemoReportPass");
              Assert.IsTrue(true);
              test.log(LogStatus.Pass, "Assert Pass as condition is True");
          }
  
          [Test]
          public void DemoReportFail()
          {
              test = extent.StartTest("DemoReportFail");
              Assert.IsTrue(false);
              test.log(LogStatus.Pass, "Assert Pass as condition is Fail");
  
          }
  
          [TearDown]
          public void GetResult()
          {
              var status = TestContext.CurrentContext.Result.Outcome.Status;
              var stackTrace = "&lt;pre&gt;" +TestContext.CurrentContext.Result.StackTrace+"&lt;/pre&gt;";
              var errorMessage = TestContext.CurrentContext.Result.Message;
  
              if(status==NUnit.Framework.Interfaces.TestStatus.Failed)
  
              {
                  test.Log(LogStatus.Fail, stackTrace + errorMessage);
              }
              extent.EndTest(test);
          }
  
          [OneTimeTearDown]
          public void EndReport()
          {
              extent.Flush();
              extent.Close();
          }
  
  
      }
  }
  </code></pre>