Hello,
I need to convert a HTML content to PDF, I was using Html.ConvertToHTML for that on .NET 5 but after updating to .NET 6 the conversion throws a System.TypeInitializationException.
image.png (31.6 KB)
Here you h…...zip (1.9 KB) And here the same code...working HtmlToPdf.ConvertHTML.NET5.zip (10.3 KB) Thanks, Dimitri asad...