Unknown Error thrown while Dragging New Activities into the Designer Panel

When attempting to drag an activity into a workflow, the error, "Exception has been thrown by the target of an invocation. Could not load file or assembly 'ConnectionClient'.

Issue Description:

The user may encounter difficulties while attempting to drag an activity into a workflow, in UiPath Studio. This solution involves rebuilding the %userprofile%/.nuget/packages folder to address the issue.

Resolution:

  1. Close UiPath Studio: Ensure UiPath Studio is closed before proceeding
  2. Navigate to .nuget Folder: Open File Explorer and go to the %userprofile%/.nuget/ folder
  3. Backup Packages Folder: Locate the packages folder and rename it (e.g., packages_old). This step serves as a backup
  4. Reopen UiPath Studio: Launch UiPath Studio and create a new blank project. During this step, the packages folder will automatically rebuild in the .nuget folder. This process may take some time
  5. Open Manage Packages: Once the new project is open, access the Manage Packages feature
  6. Install Dependency Packages: Install the desired dependency packages using the Manage Packages interface
  7. Test Workflow: Drag the desired activity into the new workflow to ensure that the issue is resolved.

By following these steps, users can effectively rebuild the packages folder and resolve package dependency issues in UiPath Studio.