'ExtentSparkReporter type or namespace cannot be found, why is this happening? C#

ExtentSprakReporter type or namespace not foundI'm trying to generate extent reports for my project and ExtentV3HtmlReporter is deprecated. The extent website states that the replacement is ExtentSparkReporter. But, when I try to create a new instance of ExtentSparkReporter, the type or name space cannot be found. Not sure why it's not working. I was not able to find anything online to solve my issue.

ExtentSparkReporter extentSpark = new ExtentSparkReporter();


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source