I’ve come across an issue that wanted to bring to you for review. When I add a code source file to a project that’s using the latest versions of Microsoft Office 365 (specifically v2.6.23), the process fails to compile. Here’s the error message I’m getting:
Unexpected error has occurred during the library compilation process:
The assembly compilation returned the following errors:
error CS0234: The type or namespace name ‘Api’ does not exist in the namespace ‘UiPath.MicrosoftOffice365.Activities’ (are you missing an assembly reference?)
warning CS0618: ‘CodedWorkflowBase.serviceContainer’ is obsolete: ‘This property is obsolete. Please use services.Container instead.’
(Note: I’ve redacted the user paths and project names for confidentiality)
Same error here. Curious about the resolution. For now, as a workaround, I downgraded the version of Microsoft Office 365 dependency to 2.5.9, which works fine for now.
The Studio version is 2023.10.4. I also tried with 2023.10.7.
To reproduce the problem: simply create a new blank process, add a new source code file, install the latest MicrosoftOffice365 package, and attempt to run the main file.
Due to security reasons, I am unable to upload my project here.
I attempted to replicate the issue on Studio 2024.10.0 on my personal machine but was unsuccessful.