Josh Close

Results 279 comments of Josh Close

Is there a consistent number of times that Bar data repeats, or is that variable?

I find it easier to read by hand. You can still get the record for most of it. ```cs void Main() { var s = new StringBuilder(); s.Append("ID,Data 1,Data 2,Data...

Set the config `ExceptionMessagesContainRawData` to `false`.

```cs var config = new CsvConfiguration(CultureInfo.InvariantCulture) { ExceptionMessagesContainRawData = false, }; var csv = new CsvReader(reader, config)

There is a `TypeConverter` attribute you can put on a member. Are you saying you want to be able to put that on a class instead of a member?

The old documentation went into a `2.x` folder http://joshclose.github.io/CsvHelper/2.x/#mapping-runtime-mapping. `CsvPropertyMap` changed to `MemberMap` as it now encompasses both properties and fields.

I posted an example yesterday, but it looks like it didn't save. One thing that isn't good is you don't have access to `map.Name()` and have to do `map.Data.Names.Add()`. That...

`ShouldQuote` is only used when writing. `DetectDelimiter` is only used when reading. There is something else going on for you. Can you give an example that shows this? Here is...

Oops. Just remove the `Delimiter = "\t"` line. Same result. The next release that will be coming out probably today will have delimiter detection fixes. If these don't fix your...

Oh... You read the data then use that same config to write and are expecting the delimiter from the detection to be used. The problem here is that `IParserConfiguration` is...