When you are getting this error? is it after you deploy and try to run the bot or while development?
Try deleting the package from .nuget folder. It would be at this path on your machine
C:\Users\your-user-id\.nuget\packages
Delete the package and UiPath will restore it to the required version automatically.