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

一个项目用Magicodes.IE跟NPOI #554

Open
1 of 6 tasks
a645010545 opened this issue Mar 26, 2024 · 7 comments
Open
1 of 6 tasks

一个项目用Magicodes.IE跟NPOI #554

a645010545 opened this issue Mar 26, 2024 · 7 comments

Comments

@a645010545
Copy link

Expected behaviour

Tell us what should happen.
升级最新的NPOI后 Magicodes.IE会报错

Actual behaviour

Tell us what happens instead. Provide a log message if relevant.
System,MissingMethodException: Method not found:'System. I0. MemoryStream Microsoft.I0.RecyclableMemoryStreamManager.GetStream(System. String)

I'm seeing this behaviour on

Remove this hint: these checkboxes can be checked like this: [x]

  • Magicodes.IE.Excel
  • Magicodes.IE.Pdf
  • Magicodes.IE.Word
  • Magicodes.IE.Csv
  • Magicodes.IE.Html
  • Magicodes.IE.AspNetCore

package versions

Example: Magicodes.IE.Excel 2.2.2, Magicodes.IE.Pdf 1.0
最新的Magicodes.IE跟NPOI

So how can we reproduce this?

Remove this hint: Pick one of these - use the Preview feature of this editor to get a sense which option we like best
exporter.ExportAsByteArray

Awesome ⭐⭐⭐⭐⭐

Provide a (link to a) minimal demo app showing the faulty behaviour.

Sweet ⭐⭐⭐⭐

Provide a concise code sample which can upload attachments.

Good ⭐⭐⭐

Provide your own app and instructions how to reproduce the issue.

Meh ⭐⭐

Provide a code sample with a bunch of magic parameters which I need to interpolate by guessing to reconstruct the actual runtime code.

Worst 💩

Say the source code can't be disclosed and refuse to provide any of the above. Expect this issue to be closed by a bunch of angry aliens 👽👽👽👽👽 that will hunt you down and 🔥 your 💻. You've been warned. 🚒

@kissxic
Copy link

kissxic commented Apr 15, 2024

我也遇到了,NPOI从2.62到2.7,之前正常使用的都会报错了

@dusdong
Copy link

dusdong commented Apr 24, 2024

我也遇到了

@Xugg-1999
Copy link

我也是这样的,没办法把npoi又给降级了

@390620652
Copy link

我没用NPOI,但是不知道为什么也有这个问题

@ForeverRG
Copy link

我没用NPOI,但是不知道为什么也有这个问题

我也是,很奇怪,应该怎么处理呢?

@390620652
Copy link

关键是这个 Microsoft.IO.RecyclableMemoryStream.dll 的版本。
最高版本的 ie 只支持 2.3.2 RecyclableMemoryStream,超过就不行了。所以要么指望作者发布新版ie,要么我们检查自己项目里的所有引用包,把 RecyclableMemoryStream 相关引用的版本全部降下来。

@ForeverRG
Copy link

关键是这个 Microsoft.IO.RecyclableMemoryStream.dll 的版本。 最高版本的 ie 只支持 2.3.2 RecyclableMemoryStream,超过就不行了。所以要么指望作者发布新版ie,要么我们检查自己项目里的所有引用包,把 RecyclableMemoryStream 相关引用的版本全部降下来。

ok,thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants