Package Faulted Issue -- Could not load file or assembly 'RestSharp, Version=105.0.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified

hi Team,

I have created a Nuget Package which was running successfully but suddenly it has stopped working sudden and giving the error that is mentioned below,

Could not load file or assembly ‘RestSharp, Version=105.0.1.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified.

Please let me know what i have missed. Thanks in advance

Thanks & Regards
Harsha

@harshavardhan3457

Did you update UiPath studio or updated Dependencies in your project ?

no i have not done any update, can u please let me know which package is causing that error, so that i will try to update that respective package

@harshavardhan3457

Can you please share screenshot of packages you installed in this project.

Hey @lakshman , Cannot provide the screenshot, but these packages i have provide from Project.JSON
“ActivityAssertUnitTest”: “[1.0.0]”,
“Microsoft.Activities”: “[1.0.1]”,
“Microsoft.Activities.Extensions”: “[2.0.6.9]”,
“RestSharp”: “[106.3.1]”,
“UiPath.Cognitive.Activities”: “[2.2.0]”,
“UiPath.Credentials.Activities”: “[1.1.6479.13204]”,
“UiPath.Cryptography.Activities”: “[1.0.6863.32236]”,
“UiPath.Database.Activities”: “[1.2.6863.32528]”,
“UiPath.Excel.Activities”: “[2.5.1]”,
“UiPath.FTP.Activities”: “[1.0.6479.13206]”,
“UiPath.IntelligentOCR.Activities”: “[1.3.0]”,
“UiPath.Mail.Activities”: “[1.3.0]”,
“UiPath.System.Activities”: “[18.4.2]”,
“UiPath.Terminal.Activities”: “[1.3.0]”,
“UiPath.UIAutomation.Activities”: “[18.4.4]”,
“UiPath.WebAPI.Activities”: “[1.2.6863.33980]”,
“UiPath.Word.Activities”: “[1.3.0]”

@harshavardhan3457

In the error message, I can see RestSharp package version as 105.0.1.0 but in project.json file it was mentioned as 106.3.1. Can you please check it once.

Thanks for the catch @lakshman

Uninstalling & Installing the RestSharp has solved the issue

1 Like

@harshavardhan3457

Great.

If your query resolved then please close this thread by marking appropriate post as solution. So that it will help others who are facing similar issue.

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