Open richardschoen opened 5 years ago
Ran with trace
[1:] EXCEPTION handling: System.DllNotFoundException: /opt/mono/lib/../lib/li
bMonoPosixHelper.so
[1:] EXCEPTION handling: System.DllNotFoundException: /opt/mono/lib/../lib/li
bMonoPosixHelper.so
[1:] EXCEPTION handling: System.DllNotFoundException: /opt/mono/lib/../lib/li
bMonoPosixHelper.so
[1:] EXCEPTION handling: System.DllNotFoundException: /opt/mono/lib/../lib/li
bMonoPosixHelper.so
Converted libMonoPosixHelper.a to libMonoPosixHelper.so using: ar -x -X 64 libMonoPosixHelper.a
Now get:
[1:] EXCEPTION handling: System.DllNotFoundException: libgdiplus.so
[1:] EXCEPTION handling: System.TypeInitializationException: The type initial
izer for 'System.Drawing.GDIPlus' threw an exception.
[1:] EXCEPTION handling: System.TypeInitializationException: The type initial
izer for 'System.Drawing.KnownColors' threw an exception.
Looks like this Excel library also needs gdiplus similar to EPPPlus.
Using Spreadsheet light which uses DocumentFormat.OpenXml.dll which uses System.IO.Packaging.
EXE builds but blows up instantiating new spreadsheet. Sounds like System.IO.Packaging needs a little testing.
Ex: var sl = new SLDocument();
Causes below error:
Error: /opt/mono/lib/../lib/libMonoPosixHelper.so at (wrapper managed-to-nat ive) zipsharp.NativeZip.zipOpen2_64(string,int,intptr,zipsharp.ZlibFileFuncDe f64&):0
at zipsharp.NativeZip.OpenArchive64 (zipsharp.ZlibFileFuncDef64 funcDef, zi psharp.Append append) [0x00000] in
at zipsharp.ZipArchive..ctor (System.IO.Stream stream, zipsharp.Append appe nd, System.Boolean ownsStream) [0x0003f] in <a97c64fb8d5748c8b21ab3bd4fa56a16