"Unexpected error has occurred during the library compilation process: Exception has been thrown by the target of an invocation." Error Output

Hello,

I accidentally made multiple changes between debugging/running my project, and now I cannot get it to debug without this error. “Unexpected error has occurred during the library compilation process:
Exception has been thrown by the target of an invocation.”

Here’s my output, can someone help decipher?

14:03:25.1731 => [WARN] [UiPath.Studio] [1] GetCompilableWorkflows: allWfCount = 4, normalizedDistinctWfCount = 3
14:03:43.8678 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [10] Unexpected error has occurred during the library compilation process:
Exception has been thrown by the target of an invocation.
14:03:43.8679 => [ERROR] [UiPath.Studio] [10] Unexpected error has occurred during the library compilation process:
Exception has been thrown by the target of an invocation.
14:05:18.2995 => [WARN] [UiPath.Studio] [1] GetCompilableWorkflows: allWfCount = 4, normalizedDistinctWfCount = 3
14:05:20.8924 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [75] Unexpected error has occurred during the library compilation process:
Exception has been thrown by the target of an invocation.
14:05:20.8926 => [ERROR] [UiPath.Studio] [75] Unexpected error has occurred during the library compilation process:
Exception has been thrown by the target of an invocation.

Thanks,
Zak

1 Like

@Zak_Ours

Can you shared the detailed exception that you see when you expand the details in the error pop up

For now can you try renaming the project.json and reopen the project

Also can you confirm if you are using any reserved keywords in your workflow names or the variable names…like count , integer etc

Cheers