-
Notifications
You must be signed in to change notification settings - Fork 75
issue with CsvHelper.excel #10
Comments
What version of |
I have decreased the version of CsvHelper to 2.60 and the compile error has been fixed but I faced a new error that the CsvHelper.excel doesn't work with excel version higher than 12.0 |
See #3 |
For anyone else who is just trying to convert UTF-8 into something Excel will read (not mess with worksheets or etc.), a work-around I found to work was to just set the Encoding in StreamWriter configuration to ANSI/Default since this is what Excel uses by default. Apologies that this isn't exactly related to the issue, but this was the first place I came across when trying to figure this out and this would have saved me an hour of research. |
Dear Christiano,
I am facing an issue with CsvHelper.excel as when I attempt to use the example provided
"
using (var reader = new CsvReader(new ExcelParser("path/to/file.xlsx")))
{
var people = reader.GetRecords();
}
"
I end up with a compile error
"Severity Code Description Project File Line Suppression State
Error CS7069 Reference to type 'ICsvParser' claims it is defined in 'CsvHelper', but it could not be found Task-Manager-Excell C:\Users\rk\source\repos\Task-Manager-Excell\Task-Manager-Excell\ExcelData.cs 154 Active
"
and
"Severity Code Description Project File Line Suppression State
Error CS7069 Reference to type 'CsvConfiguration' claims it is defined in 'CsvHelper', but it could not be found Task-Manager-Excell C:\Users\rk\source\repos\Task-Manager-Excell\Task-Manager-Excell\ExcelData.cs 154 Active
"
please advise me with the proper fix for this error
Best regards,
The text was updated successfully, but these errors were encountered: