Exception when saving an IWorkBook on Linux

Hi,

On Linux only I have an error when I try to save an IWorkBook. It works great on MacOS and Windows.

The stacktrace :

Method not found: 'Void Syncfusion.Compression.PooledWriteStream..ctor(System.Buffers.ArrayPool`1<Byte>, Int32)'.

at Syncfusion.XlsIO.Implementation.XmlSerialization.FileDataHolder.SaveSST()

at Syncfusion.XlsIO.Implementation.XmlSerialization.FileDataHolder.SaveWorkbook(ExcelSaveType saveAsType)

at Syncfusion.XlsIO.Implementation.XmlSerialization.FileDataHolder.SaveDocument(ExcelSaveType saveType)

at Syncfusion.XlsIO.Implementation.XmlSerialization.FileDataHolder.SaveDocument(Stream stream, ExcelSaveType saveType)

at Syncfusion.XlsIO.Implementation.XmlSerialization.FileDataHolder.Serialize(Stream stream, WorkbookImpl book, ExcelSaveType saveType)

at Syncfusion.XlsIO.Implementation.WorkbookImpl.SaveAsInternal(Stream stream, ExcelSaveType saveType)

at Syncfusion.XlsIO.Implementation.WorkbookImpl.SaveAs(Stream stream, ExcelSaveType saveType)

at Syncfusion.XlsIO.Implementation.WorkbookImpl.SaveAs(String FileName)

Package Synfusion.XlsIO.Net.Core 32.1.23.


Regards,

Julien


3 Replies 1 reply marked as answer

SR Santip Raja Palanisamy Syncfusion Team January 30, 2026 08:41 AM UTC

Hi Julien,


Thank you for reaching us. We suspect that you have installed different versions of Syncfusion.Compression and Syncfusion.XlsIO. We recommend clearing all NuGet and DLL caches and then reinstalling both XlsIO and Compression packages with the same version to ensure compatibility.

If you still face the issue after reinstalling, we kindly request you to share a code snippet or a simple reproducible sample along with the input Excel documents. This will help us investigate further and provide you with a solution at the earliest.


Regards,

Santip Raja.




JB Julien Barach January 30, 2026 01:38 PM UTC

It's on our side.
Deploying the app with dotnet publish without specifying the .csproj throws this error.
So this command resolved it :

dotnet publish "./BlazorApp/BlazorApp.csproj" -c Release


All our Syncfusion packages in all projects are on the same version though but finally I guess it's a good practice to specify the csproj to publish Blazor apps.


Regards,

Julien


Marked as answer

SR Santip Raja Palanisamy Syncfusion Team February 2, 2026 07:16 AM UTC

Hi Julien,

Thanks for the update!

We’re glad to hear the issue was resolved. If you need further assistance, feel free to reach out!


Regards,

Santip Raja.




Loader.
Up arrow icon