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, HTML or SVG, it fails.
I'm using this code:
Workbook doc = new Workbook(inputStream); // my input file stream
doc.Save(outputStream, SaveFormat.Pdf);
Instead of SaveFormat.Pdf
you can try Svg and Html
As result of PDF conversion I get PDF file with "Invalid file structure", as Pdf Readers say.
As result of SVG conversion I get SVG file that any browser is unable to open.
As result of HTML conversion I get Html file that contains just a lot of random symbols.
I've noticed that this issue appears only in .NET Core project, and in .NET Framework 4.6.1 everything works fine. CSV and TXT conversions are fine on both Core and Framework.
So my question is: Is there any workaround to get it working on .NET Core or only option is to use .NET Framework until it gets fixed? Or maybe I missed something in docs?