UiPath Studio Compilation Error: Resolve 'System.InvalidOperationException' by Explicitly Referencing UiPath.CodedWorkflows Package

Error : -

23.10.3+Branch.support-v23.10.Sha.ceeb2a4c480c2b7a4d12600ae5d39a26b6930830

Compilation failed or was cancelled.

Error: System.InvalidOperationException: In order for projects containing coded workflows to be compiled, the UiPath.CodedWorkflows package must be referenced explicitly if none of the imported packages already depend on it., HResult -2146233079

Solution: -

1.Navigate to UiPath Package Manager in UiPath Studio,
2.Under All Packages section search UiPath.CodedWorkflows and download the package then restart UiPath Studio and retry publishing the bot.

image

6 Likes