Method not found: 'Void NPOI.SS.UserModel.IWorkbook.Write(System.IO.Stream)'.
See original GitHub issueHi, I have the following code: `
using (var ms = new MemoryStream())
{
var mapper = new Mapper()
{
HasHeader = true
};
mapper.Save(ms, listDtos, "Auditlogs");
}
`
but on mapper.Save(…) i get this error : Method not found: ‘Void NPOI.SS.UserModel.IWorkbook.Write(System.IO.Stream)’.
The error is appeared after i updated the “Npoi.Mapper” Version=“3.5.1” to “Npoi.Mapper” Version=“4.1.0”
Any help appreciated
Issue Analytics
- State:
- Created 10 months ago
- Reactions:2
- Comments:6
Top Results From Across the Web
MemoryStream seems be closed after NPOI workbook.write?
I'm not familiar with NPOI, but I assume that the Write method is accepting Stream, not MemoryStream. If that is the case, you...
Read more >Issues · donnytian/Npoi.Mapper
Use this tool to import or export data with Excel file. The tool is a convention based mapper between strong typed object and...
Read more >Method not found: System.MissingMethodException
I am upgrading .net core web api 2.2 to .net core 3.1 while runtime i am getting error like , 'Microsoft.Extensions.DependencyInjection.
Read more >Workbook (POI API Documentation) - Apache POI
Returns a spliterator of the sheets in the workbook in sheet order. void, write(java.io.OutputStream stream). Write out this workbook to an OutputStream.
Read more >Easiest Way To Import Excel Files in C# — Dan Zoeller MBA
The task at hand for me was that I needed to import and transform several different Excel formats into an existing SQL user...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If you have installed NPOI manually in version 2.6.0 you have to downgrade to 2.5.6. Afterwards it is working fine. Npoi has changed there Interfaces in the latest minor release
我也遇到这个问题啊,各种版本都试了,一直报这个错