This project is read-only.


ConfigGen fails when using csv settings file, where a setting contains newlines


When using a settings file with a single setting value of something like:
    <fragment>This has some test data.</fragment>
then ConfigGen fails with the error "Index was outside the bounds of the array."

This appears to be due to CsvSettingsLoader failing to honour the quotes surrounding such a field.

For example, if you put the above xml fragment into Excel and then save as a csv, it specifically surrounds the value with double quotes to allow correct parsing, but the loader fails to do this, so ConfigGen sees the newlines as a new machine's row in the "spreadsheet"