"SizeInKB Is Not a Member of DirectoryInfo" When Trying to Open Processes Developed in Older UiPath Studio Versions

After updating Studio to 2023.10 version (or versions above 22.10), while trying to open and work on an old project, the following error message is encountered: 'SizeInKB' is not a member of 'DirectoryInfo'

Steps to update the project dependencies:

  1. Open UiPath Studio.
  2. In the Design Ribbon tab, click on "Manage Packages". A Manage Packages window will appear.
  3. Navigate to the "Project Dependencies" tab.
  4. Here you'll see a list of all packages your project is currently using. Find the package/library you want to update. Check the version number shown under "Version Installed".
  5. Select the package you want to update, and in the right-side panel, you can select a newer version in the "Version" dropdown.
  6. Click 'Update' and then go ahead and click the 'Save' button in the Manage Packages window to confirm and finish the update.
  7. The selected package/library will be updated to the latest version.

This has to be done process by process.