NPOI icon indicating copy to clipboard operation
NPOI copied to clipboard

workbook.Write() should not close stream

Open replaysMike opened this issue 4 years ago • 2 comments

Workbook does not own the stream, it should not be closing it.

replaysMike avatar Nov 06 '19 00:11 replaysMike

This is fixed in NPOI official release. Please use https://www.nuget.org/packages/NPOI/ instead.

tonyqus avatar Jul 30 '20 01:07 tonyqus

Not ideal, but if you face this issue, copy content of stream to byte array and create a new memory stream from it.

hbermani avatar Oct 05 '20 11:10 hbermani