Hello, I’m attempting to run a process, but I’m encountering a compilation failure. In the output menu, there are several lines indicating an issue related to error CS0234. Please find a capture of the process below.
Welcome to the community
Try changing your system activities package version and check if it resolves
You can upgradeor downgrade
Cheers
Hi @fpernalete
Try upgrading or downgrading UiPath.System.Acitvities. If the error pops up again, copy the entire flow of your project and paste it in new project but this won’t be a best practice. I hope you understand!!
Regards
Hi @fpernalete
In the designer panel there is a option called Remove Unused, select that dropdown and select the Imports. It will remove the all unused imports.
After that upgrade your UiPath.System.Activities package to the new version and Make the Runtime Rule option as Strict in Manage Packages.
Check the below image for how to remove the unused imports,
Hope it helps!!
Thanks for your answers. I made this change, and at some point, I managed to run the bot, but I couldn’t publish it in any way. When trying to publish, the same error message appeared again. I clicked on ‘remove unused import,’ and the message ‘Compilation failed, Remove unused imports and try again’ still persists. I tried to delete unused imports again, and there are no unused imports anymore. In the output section, the following error messages are observed, attached image. If someone can give me further instructions, I would appreciate it greatly.