I created a project with PerfSDK project, and I configured a selenium for making testing automation.

And I want to generate reporting by using ExtentReports with selenium in visual studio C #, I ran the case tests, but the report file .html doesn't generate in the report folder that I created in solution explorer. I don't know where is the problem, I changed the path of the report file to check, and it still doesn't generate. Here is my code: 


 using NUnit.Framework;
 using RelevantCodes.ExtentReports;
 using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;

namespace ExtentReportsDemo
public class BasicReport
    public ExtentReports extent;
    public ExtentTest test;

    public void StartReport()
        string pth = 
        string actualPath = pth.Substring(0, pth.LastIndexOf("bin"));
        Console.WriteLine("actual" + actualPath);

        string projectPath = new Uri(actualPath).LocalPath; // project path 
                                                    of your solution
        //Console.WriteLine("project" + projectPath);
        string reportPath = projectPath + "Reports\\testreport.html";
        Console.WriteLine("report" + reportPath);

        // true if you want to append data to the report.  Replace existing 
        report with new report.  False to create new report each time
        extent = new ExtentReports(reportPath, false);
        extent.AddSystemInfo("Host Name", "MININT-F36S5EH")
            .AddSystemInfo("Environment", "QA")
            .AddSystemInfo("User Name", "testUser");

        extent.LoadConfig(projectPath + "extent-config.xml");


    public void DemoReportPass()
        test = extent.StartTest("DemoReportPass");
        test.Log(LogStatus.Pass, "Assert Pass as consition is true");


    public void DemoReportFail()
        test = extent.StartTest("DemoReportPass");
        test.Log(LogStatus.Fail, "Assert Pass as condition is false");


    public void GetResult()
        var status = TestContext.CurrentContext.Result.Outcome.Status;
        var stackTrace = "<pre>" + 
  TestContext.CurrentContext.Result.StackTrace + "</pre>";
        var errorMessage = TestContext.CurrentContext.Result.Message;

        if (status == NUnit.Framework.Interfaces.TestStatus.Failed)
            test.Log(LogStatus.Fail, stackTrace + errorMessage);


    public void EndReport()


and extent-config.xml:
 <?xml version="1.0" encoding="UTF-8"?>
<!-- report theme -->
<!-- standard, dark -->

<!-- document encoding -->
<!-- defaults to UTF-8 -->

<!-- protocol for script and stylesheets -->
<!-- defaults to https -->

<!-- title of the document -->
<documentTitle>ExtentReports 2.0</documentTitle>

<!-- report name - displayed at top-nav -->
<reportName>Automation Report</reportName>

<!-- report headline - displayed at top-nav, after reportHeadline -->

<!-- global date format override -->
<!-- defaults to yyyy-MM-dd -->

<!-- global time format override -->
<!-- defaults to HH:mm:ss -->

<!-- custom javascript -->
    $(document).ready(function() {


   <!-- custom styles -->