I’m getting a weird error when trying to compile and run my project, I’m new to UiPath and can’t figure out what’s wrong. Any help is highly appreciated.
When trying to compile I get the following error:
"22.12.0-beta.11471+Branch.release-v22.12.0.Sha.d2325c659238e9a5bce4ec0fa2d550b0024490cb
Compilation failed or was cancelled."
And it gives me the following log:
"Unexpected error has occurred during the library compilation process:
The assembly compilation returned the following errors:
- Unused extern alias.
- Unnecessary using directive.
- Unused extern alias.
- Unused extern alias.
- Unused extern alias.
- Unused extern alias.
- Unnecessary using directive.
- Unnecessary using directive.
- Unused extern alias.
- Combined length of user strings used by the program exceeds allowed limit. Try to decrease use of string literals."
It feels like this started happening after I changed some activity names, but not entirely sure.
My main.xaml file exceeds the 10Mb limit of the forum: WeTransfer - Send Large Files & Share Photos Online - Up to 2GB Free
Thanks in advance for any help
Update:
The error is originating from click activities and their anchors. For some reason, having multiple click activities with an anchor produces the above-mentioned error. Was able to get around the issue, by removing the anchors, not optimal but it runs. Still don’t know why this happens though.