-
-
Notifications
You must be signed in to change notification settings - Fork 480
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冲突 #557
Comments
我也遇到了这个错误,请问应该怎么解决? |
降级npoi到和mag一样的版本 |
我检查了下,没用npoi这个包,但还是报了这个错,不折腾了,换其他库了,谢谢了 |
那怎么会冲突呢,肯定是有包冲突了,我是同时用了npoi和mag,你可以逐步排查是哪个包冲突了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behaviour
Magicodes.IE 和npoi冲突,报错
System.MissingMethodException: Method not found: 'System.IO.MemoryStream Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.String)'.
at OfficeOpenXml.Utils.RecyclableMemoryStream.GetStream()
at OfficeOpenXml.ExcelPackage.ConstructNewFile(String password)
at OfficeOpenXml.ExcelPackage..ctor()
at Magicodes.ExporterAndImporter.Excel.Utility.ImportHelper`1.GenerateTemplateByte()
at Magicodes.ExporterAndImporter.Excel.ExcelImporter.GenerateTemplateBytesT
The text was updated successfully, but these errors were encountered: