While i try to publish the project its throwing me
Unexpected error has occurred during the library compilation process:
The assembly compilation returned the following errors:
*\content.local.codedworkflows\CodedWorkflow.cs(32,19): error CS0246: The type or namespace name ‘ConnectionsManager’ could not be found (are you missing a using directive or an assembly reference?)
\content.local.codedworkflows\CodedWorkflow.cs(21,22): error CS0246: The type or namespace name ‘ConnectionsManager’ could not be found (are you missing a using directive or an assembly reference?)
*\content.local.codedworkflows\CodedWorkflow.cs(27,48): error CS0246: The type or namespace name ‘ConnectionsManager’ could not be found (are you missing a using directive or an assembly reference?)
content.local.codedworkflows\CodedWorkflow.cs(27,78): error CS0246: The type or namespace name ‘ConnectionsManager’ could not be found (are you missing a using directive or an assembly reference?)
error. Is it related to any version problem of studio ?
Compilation failed. Remove unused imports and try again.
Coded Worflows and the Workflow analyser, at least in v23, can be quite buggy.
You could try to close Studio, delete your .local folder in the project folder and the open the project again.
Following are couple of options you could try in this case as issue is mainly related to dependency packages. Kind of a glitch
Check if you have installed the required UiPath dependencies (e.g., UiPath.System.Activities, UiPath.UIAutomation.Activities. If yes - Try the option of upgrade / reinstall
Close UiPath Studio.
Delete the .local folder inside your project.
Restart UiPath Studio and rebuild the project.
Try publishing again.
Manually add the necessary DLL references in Dependencies
My Studio and Assistant were updated to 2024.10.9 today and after that I cannot publish anymore. Tried booting, restarting Studio, removing unused imports, removing .local folder. No luck, same error with every project.
...\.local\.codedworkflows\CodedWorkflow.cs(40,19): error CS0246: The type or namespace name 'ConnectionsManager' could not be found (are you missing a using directive or an assembly reference?)
I created a new empty project and I can publish that, so it’s not totally broken.