Main.xaml

I am new to Studio. My coworker sent over a project, and I cannot open the Main.xaml file. I am getting a message saying, “The document has unresolved activities. You will not be able to save it until the activities have been resolved or removed.” But when he shares his screen, you can see the bot running smoothly.

Did I save the file wrong through email? What do I need to do?

hi @kadams11

There are 2 possible ways to solve it:
either ask you colleague to share you the whole project, i.e. their would be a project.json file with it as well.

Else there should be a link above where it says it has unresolved activities called as Repair Dependencies.

Click on it.
It’ll try to install the missing packages.

Easy way is the first option where he sends you the whole project as zip.

Thanks

Happy Automation!! :smiley:

Thanks for the quick response. He didn’t send it as a zip file. When I click on the project.json, it doesn’t work either.

Hi @kadams11

If you find that some activities are missing or unresolved, you can try to restore them by following these steps:

  • Go to the “Activities” panel in UiPath Studio.
  • Click on the “Packages” dropdown and select “Manage Packages”.
  • In the “Manage Packages” window, go to the “All Packages” tab.
  • Search for the missing activity package(s) and ensure they are installed. If not, install them.
  • Once the package(s) are installed, try reopening the Main.xaml file again.

Also, Ensure that you and your coworker are using the same version of UiPath Studio. If your coworker is using a different version or has installed additional custom activities, it could result in compatibility issues. Try to confirm the versions and ensure you have the same setup.

Thanks!!

I believe that it is something on my end because I am still getting error messages even after the repair and retrying to install the packages.

That’s what I’m saying ask for the zip file of the project. So that you’ll get the project.json file as well as main.xaml.

The project.json file would tell UiPath that these are the dependencies which needs to be installed

Your coworker needs to zip up and send you the entire project including subfolders, not just the main.xaml file

Of course, you really should be storing these projects in a network folder so you can all access them directly if multiple people will be working on them.