Method not found: 'Void NPOI.SS.UserModel.IWorkbook.Write(System.IO.Stream)'.
aminkosh opened this issue · comments
Hi,
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
Hi,
I've the same issue with "Npoi.Mapper" Version="4.1.0".
Thanks
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
Downgrading NPOI to 2.5.6 fixed the issue for me.
@donnytian Can you release a new NPOI.Mapper version based on NPOI 2.6.0?
Same happens for me when using NPOI.Mapper 4.1.0
我也遇到这个问题啊,各种版本都试了,一直报这个错