Read CSV into an Excel: Method not found: 'Void CsvHelper.CsvParser..ctor(System.IO.TextReader, System.Globalization.CultureInfo)'

I am getting this error while using the “Read CSV” activity:

Read CSV: Method not found: ‘Void CsvHelper.CsvParser..ctor(System.IO.TextReader, System.Globalization.CultureInfo)’.

When I check the dependencies, there is 2 subdependecies dealing with CSV.

Kindly assist, many thanks in advance.

1 Like

Hey @RobinsonFrancis

I found similar threads on the forum, have you try it?

In your project you actually have two different versions of the CsvHelper library loaded. UiPath.Excel.Activities 2.24.4 depends on CsvHelper 15.0.5, while UiPath.System.Activities.Runtime 25.10.3 pulls CsvHelper 33.0.1.
The fix is to align your package versions so that Excel and System.Activities use the same CsvHelper version.

I have downgraded the Excel and System packages.
Their versions now are
“UiPath.Excel.Activities”: “[2.24.4]”
“UiPath.System.Activities”: “24.10.4”
The CsvHelper is 16.0.0 in the “UiPath.System.Activities”: “24.10.4”. Although it shows that UiPath.Excel.[Activities] 2.24.4 depends on CsvHelper 15.0.5 it shows it resolved to 16.0.0.
The downgrading solved my problem

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.