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
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.
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
Hi Julien,
Thanks for the update!
Regards,
Santip Raja.
- 3 Replies
- 2 Participants
- Marked answer
-
JB Julien Barach
- Jan 29, 2026 06:03 PM UTC
- Feb 2, 2026 07:16 AM UTC