Aspose.Cells throws exception "The type initializer" for AutoFitColumns function

AutoFitColumns function throws an exception “The type initializer” on the Linux server, I don’t see any issues with windows OS. Can someone please help me with this issue?

.netcore version - 6
Aspose.Cells version -

image.png (14.5 KB)
image.png (10.2 KB)


Please note, libgdiplus does not work well in linux. So, we migrated the graphics library to SkiaSharp recently especially for linux os. We recommend you to upgrade to a version >= Aspose.Cells 22.10.1, See the document for your reference.

Hope, this helps a bit.