The 'Read CSV' activity is not available

I would like to discuss the issue of not being able to use the “Read CSV” activity in a Windows project (modern).

■ Occurring Issue
When executing the “Read CSV” activity, the following error occurs:

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

■ Validation Details

  • I have confirmed the following with the same CSV file and settings:

① Windows Project
UiPath.System.Activities = 26.2.4
→ Cannot execute due to the above error.

② Windows Project
UiPath.System.Activities = 24.10.7
→ Can read CSV normally.

③ Windows-Legacy Project
→ Can read CSV normally.

■ Additional Information

  • I have confirmed that the encoding (Shift_JIS) and file path are correct.
  • The issue persists even when changing the activity placement (inside or outside the scope).
  • Since it only occurs in a specific version, I believe it is an issue related to package dependencies.

■ Inquiry
I would like to know if there is a way to use the “Read CSV” activity correctly in UiPath.System.Activities = 26.2.4 (the latest version).

Additionally, if this issue is a known bug, I would appreciate any information regarding workarounds or plans for a fix.

Thank you for your assistance.

Hi @msm.nishida,

When using a CSV file in a Windows project, you need to install the UiPath.Excel.Activities package.

Please refer to the following official documentation:

After installing the UiPath.Excel.Activities package, please try running the “Read CSV” activity again.

Best regards.

Thank you for your reply.
The UiPath.Excel.Activities package is already installed.

To be a bit more specific,
when the project.json is as follows, “reading the CSV activity results in an error.”
“dependencies”: {
“UiPath.Excel.Activities”: “[2.24.4]”,
“UiPath.FTP.Activities”: “3.0.0”,
“UiPath.Mail.Activities”: “[2.7.11]”,
“UiPath.System.Activities”: “[26.2.4]”,
“UiPath.Testing.Activities”: “[25.10.2]”,
“UiPath.UIAutomation.Activities”: “[25.10.28]”

However,
when the project.json is as follows, “the CSV reading activity can be executed.”
“dependencies”: {
“UiPath.Excel.Activities”: “[2.24.4]”,
“UiPath.Mail.Activities”: “[1.24.2]”,
“UiPath.System.Activities”: “[24.10.7]”,
“UiPath.Testing.Activities”: “[24.10.4]”,
“UiPath.UIAutomation.Activities”: “[24.10.11]”

Both processes have the same “UiPath.Excel.Activities”: “[2.24.4]”

Best regards.

Hello

I believe it is an issue with the dependencies of each activity package (probably CSV Helper).
(A version higher than what is expected by the corresponding Excel pack is being used.)

Therefore, I think the solution would be either to lower the version of the System pack or to raise the version of the Excel pack.

To add some context,

In the case of Excel Pack 2.24.4 + System Pack 26.2.4, the dependency of the System Pack uses CSV Helper version 33.0.1, which is the reason it doesn’t work with Excel Pack 2.24.4.

In the case of Excel Pack 2.24.4 + System Pack 24.10.7, the dependency of the System Pack uses CSV Helper version 16.0.0, and this version works with Excel Pack 2.24.4.

Therefore, you will need to either downgrade the System Pack to a version that has a CSV Helper compatible with Excel Pack 2.24.4, or upgrade the Excel Pack to a version that supports CSV Helper 33.0.1 (or higher).

Thank you very much. It worked.
After updating the following,
“UiPath.Excel.Activities”: “[3.5.1]”,
“UiPath.System.Activities”: “[2.0]”.