Hi,
I am trying to use the ClosedXML library to create an Excel workbook from a VB.Net Windows Form app and am getting a __System.TypeInitializationException__ error when I try and create an XLWorkbook with the following code:
Dim workbook = New XLWorkbook()
I have included the ClosedXML.dll and the DocumentFormat.OpenXml.dll in my project properties (see attachment) as well as
Imports ClosedXML.Excel
Any pointers to what else could be wrong would be appreciated.
Thanks,
M
I am trying to use the ClosedXML library to create an Excel workbook from a VB.Net Windows Form app and am getting a __System.TypeInitializationException__ error when I try and create an XLWorkbook with the following code:
Dim workbook = New XLWorkbook()
I have included the ClosedXML.dll and the DocumentFormat.OpenXml.dll in my project properties (see attachment) as well as
Imports ClosedXML.Excel
Any pointers to what else could be wrong would be appreciated.
Thanks,
M