Actually, that is a mono issue rather than an EPPlus issue.. I have reported it on mono...
but there is a quick fix to make the lib work now on mono.
in ExcelPackage.cs replacing all
_package.Close();
with:
_package.Flush();
Will make the lib work on mono since there is a prob with close method, it internally calls dispose that actually removes the mem stream too..
that is quick fix... I hope someone finds it useful.
Comments: @tpokorra Thanks a lot! I will try it and let you know if I encounter any issue (or submit a patch request).
but there is a quick fix to make the lib work now on mono.
in ExcelPackage.cs replacing all
_package.Close();
with:
_package.Flush();
Will make the lib work on mono since there is a prob with close method, it internally calls dispose that actually removes the mem stream too..
that is quick fix... I hope someone finds it useful.
Comments: @tpokorra Thanks a lot! I will try it and let you know if I encounter any issue (or submit a patch request).