Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Upgrade Microsoft.IO.RecyclableMemoryStream to version 3.0.0 #1238

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

lahma
Copy link
Collaborator

@lahma lahma commented Dec 14, 2023

https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream/releases/tag/3.0.0

If you have a solution that references the latest 3.0.0 version NPOI will throw an error:

NPOI.Util.RecordFormatException : Unable to construct record instance
----> System.MissingMethodException : Method not found: 'System.IO.MemoryStream Microsoft.IO.RecyclableMemoryStreamManager.GetStream(Byte[])'.
Stack Trace:
at NPOI.HSSF.Record.RecordFactory.ReflectionConstructorRecordCreator.Create(RecordInputStream in1)
at NPOI.HSSF.Record.RecordFactory.CreateSingleRecord(RecordInputStream in1)
at NPOI.HSSF.Record.RecordFactoryInputStream.ReadNextRecord()
at NPOI.HSSF.Record.RecordFactoryInputStream.NextRecord()
at NPOI.HSSF.Record.RecordFactory.CreateRecords(Stream in1)
at NPOI.HSSF.UserModel.HSSFWorkbook..ctor(DirectoryNode directory, Boolean preserveNodes)
at NPOI.HSSF.UserModel.HSSFWorkbook..ctor(DirectoryNode directory, POIFSFileSystem fs, Boolean preserveNodes)
at NPOI.HSSF.UserModel.HSSFWorkbook..ctor(POIFSFileSystem fs, Boolean preserveNodes)
at NPOI.HSSF.UserModel.HSSFWorkbook..ctor(Stream s, Boolean preserveNodes)
at NPOI.HSSF.UserModel.HSSFWorkbook..ctor(Stream s)

@tonyqus tonyqus added this to the NPOI 2.7.0 milestone Dec 14, 2023
@tonyqus
Copy link
Member

tonyqus commented Dec 14, 2023

LGTM

@tonyqus tonyqus merged commit 2db8ef1 into nissl-lab:master Dec 14, 2023
@lahma lahma deleted the upgrade-recyclable-memory-stream branch December 14, 2023 18:54
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants