Open dcjxdd123 opened 3 months ago
@dcjxdd123 I temporarily published a nuget to https://www.nuget.org/packages/Synced.Npoi.Mapper which does the same.. I will remove it once this PR is approved. (I couldn't hold it any longer) Also found https://github.com/mganss/ExcelMapper which does the same.
@donnytian any potential risk to upgrade to NPOI to 2.7.1?
We are currently locked with 2.6.2 as the mapper fails when upgrading to 2.7.1
System.MissingMethodException: Method not found: 'System.DateTime NPOI.SS.UserModel.ICell.get_DateCellValue()'.
at Npoi.Mapper.MapHelper.TryGetCellValue(ICell cell, Type targetType, TrimSpacesType trimSpacesType, Object& value, IFormulaEvaluator evaluator)
at Npoi.Mapper.Mapper.LoadRowData[T](IEnumerable`1 columns, IRow row, T target, RowInfo`1 rowInfo)
NPOI 2.7.1 fix https://github.com/donnytian/Npoi.Mapper/issues/136