atomic
October 27, 2023, 12:25pm
1
Hi,
I’m getting the following error when compiling:
Unexpected error has occurred during the library compilation process:
The assembly compilation returned the following errors:
Labels that are numbers must be followed by colons.
I have narrowed it down to the switch activity, which seems to cause the error.
I dont know what labels are in this case. I have tried to add a “:” see below(marked green):
I have also tried to add the colon(“:”) to the “case” on the left side without any success.
What is causing this problem?
@atomic
What’s the TypeArgument you’ve used?
atomic
October 27, 2023, 1:13pm
5
Hi @Palaniyappan ,
I had(powershell window) alongside with the Runtime 6.0.16 installed 2023-05-05, see below(marked green):
Downloaded and restarted the server still same issue.
Do I need to configure something or perform any changes?
Hi @atomic ,
Could you maybe try to narrow it down a bit more, by removing each case in the Switch activity one by one and checking if it still gives out the error ?
postwick
(Paul Ostwick)
October 27, 2023, 11:26pm
7
Remove the labels from the sequences and see if it fixes it.
atomic
October 30, 2023, 11:04am
8
@supermanPunch @Palaniyappan @monsieurrahul @postwick
Hi,
I found the issue and I’m a bit embarrassed about it.
One of the cases used a number instead of a variable in the assign:
And for some reason UiPath Studio did not alert for this at all. I even used the Analyze and validate process/project tools:
If I put my marker in the field in the assign activity then I get an error:
So this was my mistake but maybe the error should have shown up nevertheless?
2 Likes
system
(system)
Closed
November 3, 2023, 9:51am
9
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.