Could Not Load File or Assembly UiPath.interop

How to resolve the Error running the workflow "Could not load file or assembly UiPath.interop" ?

Resolution: The workflow error  “Could not load file or assembly UiPath.interop” can be approached as below-

Approach 1: 

  1. Open %userprofile% in your affected Robot system
  2. Navigate to “.nuget” / packages / folder
undefined
  1. Delete the highlighted folder "uipath" in .nuget location.
Reason: This would delete all the dependent files thus allowing to Robot to download the files again when the process is executed.
  1. Now launch Studio/Robot & execute the process. This should complete the auto installation of dependent package 
Reason: The process will download again the uipath dependencies i.e. uipath.interop.dll for the required version. 
  1. Verify Now

Approach 2 : Take backup of the whole folder and delete the same. 
  1. Open %userprofile% in your affected Robot system
  2. Navigate to “.nuget” folder
undefined
  1. Take a backup of the “packages” folder to a different location
  2. Delete the current folder in .nuget location i.e. packages folder itself
Reason: This would delete all the packages thus allowing to Robot to download the packages again when a process is executed.
  1. Now launch Studio & execute the process. This should complete the auto installation of dependent package 
Reason: The process will download again with all the required dependencies.
  1. Verify Now