- Code: Select all
System.TypeInitializationException: The type initializer for 'spr1836' threw an exception. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at spr1836..cctor()
--- End of inner exception stack trace ---
at spr1836..ctor()
at Spire.Xls.Workbook..ctor()
Got this error with my windows form. The issue is from
- Code: Select all
Workbook workbook = new Workbook();
Not sure why it's throwing this exception
I downloaded Spire.Xls from Nuget packages, at the latest version.
I had a look at the dll and the mentions of where spr1836 are location don't really make sense... Used your tutorial on this