I have a .NET Core 2.0 project and use Aspose.Cells version 18.2.0. When I try to convert valid XLS to PDF it fails.
I’m using this code:
Workbook doc = new Workbook(inputStream); // my input file stream doc.Save(outputStream, SaveFormat.Pdf);
As result of PDF conversion I get PDF file with “Invalid file structure”, as Pdf Readers say.
I have noticed that this issue appears only in .NET Core project, and in .NET Framework 4.6.1 everything works fine.