Hello,
as in Thread https://www.aspose.com/community/forums/thread/835575.aspx mentioned does Aspose.Pdf 17.1 and newer throw the Assemly Aspose.Font missing error.
We updated all the dll's to the newest version (see below), but due to the problem mentioned above, we have to use an older version of Aspose.Pdf.
Unfortunytely, from version 16.10 on, a FileNotFoundException is thrown, because the Aspose.HTML assemly is missing, when we load an HTML document into an Aspose.Pdf document, including an HTMLLoadOption to define a CustomLoaderOfExternalResources:
Aspose.Pdf.HtmlLoadOptions htmlOptions = new Aspose.Pdf.HtmlLoadOptions(folderUrl);
htmlOptions.CustomLoaderOfExternalResources = uri => { //handling of referenced files };
Aspose.Pdf.Document htmlDocument = new Aspose.Pdf.Document(memoryStream, htmlOptions) { IgnoreCorruptedObjects = true };
I tested ALL versions starting from 11.2.0 to 16.12.0 regarding both missing assembly errors - the result:
we have to use the Aspose.Pdf 12.0.0 version, but this version does not render tables correctly (see attachment - the blackening in the screenshot is due to data protection).
So, right now, our only possibility to convert an HTML file into PDF is to use Aspose.PDF version 12.0.0, including the table rendering issue...that is really, really frustrating!
.Net 3.5, SharePoint 2010, Windows Server 2008 R2
Aspose.Pdf 12.0.0.0
Aspose.Cells 17.5.0.0
Aspose.Email 17.4.0.0
Aspose.Imaging 17.4.0.0
Aspose.Slides 17.4.0.0
Aspose.Words 17.5.0.0
as in Thread https://www.aspose.com/community/forums/thread/835575.aspx mentioned does Aspose.Pdf 17.1 and newer throw the Assemly Aspose.Font missing error.
We updated all the dll's to the newest version (see below), but due to the problem mentioned above, we have to use an older version of Aspose.Pdf.
Unfortunytely, from version 16.10 on, a FileNotFoundException is thrown, because the Aspose.HTML assemly is missing, when we load an HTML document into an Aspose.Pdf document, including an HTMLLoadOption to define a CustomLoaderOfExternalResources:
Aspose.Pdf.HtmlLoadOptions htmlOptions = new Aspose.Pdf.HtmlLoadOptions(folderUrl);
htmlOptions.CustomLoaderOfExternalResources = uri => { //handling of referenced files };
Aspose.Pdf.Document htmlDocument = new Aspose.Pdf.Document(memoryStream, htmlOptions) { IgnoreCorruptedObjects = true };
I tested ALL versions starting from 11.2.0 to 16.12.0 regarding both missing assembly errors - the result:
we have to use the Aspose.Pdf 12.0.0 version, but this version does not render tables correctly (see attachment - the blackening in the screenshot is due to data protection).
So, right now, our only possibility to convert an HTML file into PDF is to use Aspose.PDF version 12.0.0, including the table rendering issue...that is really, really frustrating!
.Net 3.5, SharePoint 2010, Windows Server 2008 R2
Aspose.Pdf 12.0.0.0
Aspose.Cells 17.5.0.0
Aspose.Email 17.4.0.0
Aspose.Imaging 17.4.0.0
Aspose.Slides 17.4.0.0
Aspose.Words 17.5.0.0