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: @mayerwin: I have compiled the EPPlus dll with some fixes and I am using it for MS-Win and Mono: http://bazaar.launchpad.net/~openpetracore/openpetraorg/trunkhosted/view/head:/csharp/ThirdParty/EPPlus/EPPlus.dll see the readme.txt as well: http://bazaar.launchpad.net/~openpetracore/openpetraorg/trunkhosted/view/head:/csharp/ThirdParty/EPPlus/readme.txt
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: @mayerwin: I have compiled the EPPlus dll with some fixes and I am using it for MS-Win and Mono: http://bazaar.launchpad.net/~openpetracore/openpetraorg/trunkhosted/view/head:/csharp/ThirdParty/EPPlus/EPPlus.dll see the readme.txt as well: http://bazaar.launchpad.net/~openpetracore/openpetraorg/trunkhosted/view/head:/csharp/ThirdParty/EPPlus/readme.txt