The assembly compilation returned the following errors: * ')' expected

Hello

I am getting the below error when trying to publish a project.
I can publish other projects with succes.

I have tried:

  • Removing sequences and activities one by one to try and find the problem, but even with a completly empty workflow-file, the error persists.
  • Removing workflow files one by one, but the problem just “moves” to the next one.

expected

And here is the logfile:

10:31:09.4090 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [92] Unexpected error has occurred during the library compilation process:
The assembly compilation returned the following errors:
 * ')' expected.
 * ')' expected.
10:31:09.4095 => [ERROR] [UiPath.Studio] [92] Unexpected error has occurred during the library compilation process:
The assembly compilation returned the following errors:
 * ')' expected.
 * ')' expected.
10:31:30.7106 => [ERROR] [UiPath.Studio] [1] System.NullReferenceException: Object reference not set to an instance of an object.
   at UiPath.Studio.Workflow.Shared.Analytics.AnalyticsUtils.ExtendProjectTelemetry(ProjectTelemetry projectTelemetry, ProjectStats projectStats)
   at UiPath.Studio.ProjectPackager.Publish.Services.PublishService.<>c__DisplayClass29_0.<<FireAndForgetTelemetry>g__Forget|0>d.MoveNext(), HResult -2147467261

Hi @SorenB,

have you try to publish Package or Library ?

Thanks,

The problem appears when trying to publish.
The Workflow Analyzer shows no error prior to this.

Hi @SorenB ,

Could you let us know if there were any differences between the Projects that was able to publish and this project ?

Was a conversion from Legacy to Windows was performed or any other kind of updations ?