Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Updating to Microsoft.IO.RecyclableMemoryStream 3.0 will cause exception thrown #1271

Closed
obj404 opened this issue Feb 22, 2024 · 1 comment
Closed
Labels
Milestone

Comments

@obj404
Copy link

obj404 commented Feb 22, 2024

NPOI Version

2.6.2

Issue Description

IWorkbook.Write 使用了 RecyclableMemoryStreamManager.GetStream(Memory<byte>)
因为保存文件时,使用了标记为废弃的方法,而在3.0已经删除,所以会出错

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

Breaking Changes

@obj404 obj404 added the bug label Feb 22, 2024
@Bykiev
Copy link
Collaborator

Bykiev commented Feb 22, 2024

Fixed in #1238

@tonyqus tonyqus added this to the NPOI 2.7.0 milestone Feb 22, 2024
@tonyqus tonyqus changed the title 升级 Microsoft.IO.RecyclableMemoryStream 3.0 会导致保存文件报错 Updating to Microsoft.IO.RecyclableMemoryStream 3.0 will cause exception thrown Feb 22, 2024
@tonyqus tonyqus closed this as completed Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants