dotnetcore / NPOI

A .NET library for reading and writing Microsoft Office binary and OOXML file formats.
Apache License 2.0
1.93k stars 413 forks source link

{"The type initializer for 'NPOI.OpenXml4Net.OPC.OPCPackage' threw an exception."} #163

Open mohamad-alibrahim opened 4 years ago

mohamad-alibrahim commented 4 years ago

this was my code:

IExportEngine engine = new ExcelExportEngine(); engine.AddData(OrderTabViewlist); var xxx = engine.Export();