I have a activity in a library that throws a UiPath.Core.BusinessRuleException exception, when I drag this activity in a sequence in my other project it says “Type UiPath.Core.BusinessRuleExceptionis not defined” and thus won’t run.
The “Open” activity in the library uses the available Throw activity. But it does more than just that, the throw is only triggered when something goes wrong.
Right, I’ve been playing a bit more with it and it seems forcing the sequence to be saved (e.g. make a change, undo and save) resolves the problem. I’m guessing it has to do with the internal dependencies (on .NET) somehow getting corrupted.
Below’s a diff of the dependencies in the XAML file, so the sequence itself did not change I merely forced it to re-save.