Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

Created Unassigned: System.TypeInitializationException [9213]

$
0
0
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

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>