You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
错误消息: The type initializer for 'SkiaSharp.SKFontStyle' threw an exception.
堆栈信息: at OfficeOpenXml.ExcelRangeBase.GetAvailableFont(String text)
at OfficeOpenXml.ExcelRangeBase.AutoFitColumns(Double minimumWidth, Double maximumWidth)
at OfficeOpenXml.ExcelRangeBase.AutoFitColumns(Double MinimumWidth)
at OfficeOpenXml.ExcelRangeBase.AutoFitColumns()
at Magicodes.ExporterAndImporter.Excel.Utility.ExportHelper1.AddHeaderAndStyles() at Magicodes.ExporterAndImporter.Excel.Utility.ExportHelper1.Export(ICollection1 dataItems) at Magicodes.ExporterAndImporter.Excel.ExcelExporter.ExportAsByteArray[T](ICollection1 dataItems)
The text was updated successfully, but these errors were encountered:
Expected behaviour
生成Excel文件的时候报错
#463 #468 报错信息应该是一样的,但是服务器环境是WinServer;
ps:本地window10环境没有问题
package versions
Example: magicodes.ie.excel.aspnetcore 2.7.4.5
StackMsg:
错误消息: The type initializer for 'SkiaSharp.SKFontStyle' threw an exception.
堆栈信息: at OfficeOpenXml.ExcelRangeBase.GetAvailableFont(String text)
at OfficeOpenXml.ExcelRangeBase.AutoFitColumns(Double minimumWidth, Double maximumWidth)
at OfficeOpenXml.ExcelRangeBase.AutoFitColumns(Double MinimumWidth)
at OfficeOpenXml.ExcelRangeBase.AutoFitColumns()
at Magicodes.ExporterAndImporter.Excel.Utility.ExportHelper
1.AddHeaderAndStyles() at Magicodes.ExporterAndImporter.Excel.Utility.ExportHelper
1.Export(ICollection1 dataItems) at Magicodes.ExporterAndImporter.Excel.ExcelExporter.ExportAsByteArray[T](ICollection
1 dataItems)The text was updated successfully, but these errors were encountered: