In CsvHelper how to catch a conversion error and know what field and what row it happened in?
Currently, there is no way to ignore errors at the field/property level. Your current options are these: Look at the exception data. catch( Exception ex ) { // This contains useful information about the error. ex.Data[“CsvHelper”]; } Ignore reading exceptions. This is on a row level, though, not field. It will allow the whole file … Read more