Runtime exception error - Could not load file or assembly

Hi,

I am getting the following error:
Chrome Web EMR Login Page: Could not load file or assembly ‘System.Diagnostics.DiagnosticSource, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’. The system cannot find the file specified.

These are the dependencies:
UiPath.Excel.Activities = 2.22.3
UiPath.FTP.Activities = 2.4.0
UiPath.Mail.Activities = 1.21.1
UiPath.System.Activities = 23.10.3
UiPath.UIAutomation.Activities = 25.10.4
UiPath.WebAPI.Activities = 1.21.1

I tried downgrading system activities package, but no use. I am unable to figure out this out.

Hi @Daksha

first install the .NET 8.0 Runtime on your machine. Then, in your UiPath project, try upgrading or downgrading both UiPath.System.Activities and UiPath.UIAutomation.Activities to compatible versions, such as 23.4.x.

@Daksha

Could you please try upgrading system package to 24.10 version and downgrading uiautomation to 24.10?

@Daksha

Looks like the pckages are not downloaded fully

Try to go to c:\users\username.nuget and rename pckages folder and then reopen the project and check

Cheers