Problems with Aspose.Cells 18.9 nuget

We have found what we believe 2 problems with the Aspose.Cells version 18.9.0 nuget for .NET.

  1. The first problem is that Aspose.Cells for .NET Core doesn’t have a property PdfSaveOptions.ImageType. It exists in the documentation here: PdfSaveOptions.ImageType | Aspose.Cells for .NET API Reference and it exists in the .NET Framework version, but in .NET Core it is marked as internal. We are trying to migrate from .NET Framework to .NET Core and need this property available. Please mark it as public in .NET Core.

  2. The second problem is with the nuget itself. The latest version 18.9.0 exhibits a problem that 18.8.0 does not. The nuget for 18.8.0 has a subfolder “lib\netstandard2.0” and this works fine in visual studio. The latest version 18.9.0 does NOT have this subfolder and visual studio fails to reference it from a project. Instead it has a folder “lib\netstandard20_AuthcodeSigned”. Is this a problem with the packaging of the nuget? The zip file from Download .NET DLL Components to Process Excel | Aspose.Cells does not show this problem.

@bblinn,

Thanks for your query.
We were able to observe the issues but we need to look into them more. We have logged the issues in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issues have been logged as

CELLSNETCORE-9 - Package for v18.9.0 cannot be added to .NETCore project from NuGet Manager as it hangs
CELLSNETCORE-10 - PdfSaveOptions.ImageType missing in Aspose.Cells for .NET Core

Thank you. Please keep me updated on the status.

@bblinn,

We will update you as soon as we have some news about logged issues.

@bblinn,

For the issue “CELLSNETCORE-10”:
We will add PdfSaveOptions.ImageType in next (upcoming) fixed version. Then you may call it like following:
e.g
Sample code:

        PdfSaveOptions options = new PdfSaveOptions(SaveFormat.Pdf);
        options.ImageType = Aspose.Cells.Drawing.ImageType.Jpeg;

Thank you for the update on the PdfSaveOptions.ImageType issue. Please provide an update on the NuGet issue.

@bblinn,

This issue is still under consideration and not resolved yet. We will write back here as soon as this issue is resolved and feedback is ready to share.

Hello, do you have an update on the NuGet issue?

@bblinn,

We are collecting information about these issues and will provide update soon.

@bblinn,

You can download Aspose.Cells from nuget now. Please download Aspose.Cells 18.11.0 from nuget, this problem has been fixed.

You may call it like this:

        PdfSaveOptions options = new PdfSaveOptions(SaveFormat.Pdf);
        options.ImageType = Aspose.Cells.Drawing.ImageType.Jpeg;

You may call “Aspose.Cells.Drawing.ImageHelper.ImageFormatToImageType” and “Aspose.Cells.Drawing.ImageHelper.ImageTypeToImageFormat”
to trans between “Aspose.Cells.Drawing.ImageType” and “System.Drawing.Imaging.ImageFormat”.