I need to convert html file(report.html) that I create to PDF,
I tried:
PdfDocument pdf = PdfGenerator.GeneratePdf(htmlFilePath, PageSize.A4);
pdf.Save(pdfFileName);
But without success. Should I close chrome driver before I start creating PDF or is my code wrong?
Error message: Could not load file or assembly 'HtmlRenderer, Version=1.5.0.5, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
I send same htmlFilePath as for creating HTML.