Root Element is Missing - Trigger Activities

Hello Community,
Im facing a problem which I haven’t been able to find solution for. It seems to be related with the trigger activities.
When trying to publish project that contains trigger activities the compilation throws error with this messages.

The sentence in spanish shown in the image basically means
An unexpected error occurred during the library compilation process:

Any idea? Is someone else experiencing this error?

Hello @Luis_Fernando!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly
Forum_Staff

A XAML file might be corrupted or missing. Or you might be missing one of the triggers from your project in the Triggers.Generated.xaml. If so, try deleting the trigger and re-adding it.

In any case, can you share which version of Studio you are using and can you reproduce in other versions? This might very well be a bug and I would recommend opening up a support case.

My studio is 2024.10.1
I also tried using other versions of the package but nothing works. The error comes when trying to publish, because debugging and running works.

I have also been getting this error during compilation, but from others projects too, and those I can publish so i don´t know if it is related.

When I try to seach this file in my project folder it looks as if it doesn’t exist. When I try to publish it appears for a second and when try to open it says it doesn’t exist

When I try to publish it appears for a second and when try to open it says it doesn’t exist

That sounds to me like some antivirus might be blocking it.

:thinking: :thinking:
Hi Chris , I will check around that idea

1 Like