Uipath.Executor Duplicate assembly error

My dispatcher (reading mails and uploading to queue) code runs fine when i run it from my local machine/studio. But when i am scheduling the robot it crashes in every run giving error as UiPath.Executor 21.10.7.0
Duplicate assembly: C:\Users***bot.nuget\packages\UiPath.mail.activities/1.22.2\lib/net6.0-windows7.0/Office.dll . Can someone help me on this

@shrdha_singh,

Upgrade the System.Activities package to latest version and republish the package and check.

Thanks,
Ashok :slight_smile:

Hi,

Please check the event viewer of the system where the error occurred, targetting the UiPath Application logs. Check for the error and inspect the location where the Duplicate assembly found. Try to remove this and rerun your robot.