Relative Content

Tag Archive for c#.netexcelasp.net-mvc-4officewriter

ExcelWriter throws TypeInitializationException when trying to run the AutoFitWidth function

SoftArtisans.OfficeWriter.ExcelWriter has the capability to create a worksheet area based on a number of columns. This works, however, when I try to AutoFitWidth() of the Area I receive this error: System.TypeInitializationException: The type initializer for 'SoftArtisans.OfficeWriter.Parser.NumberFormatting.Pieces.NumberFormatterParser' threw an exception. and it has the following Inner Exception: MissingMethodException: Method not found: 'Antlr4.Runtime.Atn.ATN Antlr4.Runtime.Atn.ATNDeserializer.Deserialize(Char[])'.