We have a common library we constantly create components for reusability , recently we added send,get,move email components with MS0365 activities , so some reason the publish is failing when I have the send email activity created via ms0365 in the studio, when I remove , the publish work. Publish fail with below error message. I am very limited as to what I can do especially reinstalling studio. I have manually added the namespace “System.Text.Json” in send email xaml, installed latest 7.0.2 and 5.0.0.0,5.0.2 a version of System.Text.Json from manage package with same issue proceed to happen. i know the issue is with the send email xaml , but not sure how to resolve.
studio version is 2021.4.4, robot 21.4.4 (enterprise edition)
We have a shared library where we constantly create reusable components. Recently, we added components for sending, receiving, and moving emails with MS0365 activities. For some reason, the publish fails when the send email activity, created via MS0365, is included in the Studio. When I remove it, the publish works. I am very limited in what I can do, especially with reinstalling the Studio. I have manually added the namespace “System.Text.Json” in the send email XAML and installed the latest versions of 7.0.2 and 5.0.0.0, 5.0.2, and a version of System.Text.Json from the managed package with the same issue still occurring. I know the issue is with the send email XAML, but I’m not sure how to resolve it.
The error message displayed is:
Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Shared\Send Email (0365).xaml. Reason was ‘Could not load file or assembly ‘System.Text.Json, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies. The system cannot find the file specified.’.
The Studio version is 2021.4.4, and the Robot version is 21.4.4 (Enterprise Edition).
More Error detail from log
14:33:28.8102 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [19] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Shared\Send Email (0365).xaml. Reason was ‘Could not load file or assembly ‘System.Text.Json, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies. The system cannot find the file specified.’.
14:33:28.8109 => [ERROR] [UiPath.Studio] [19] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Shared\Send Email (0365).xaml. Reason was ‘Could not load file or assembly ‘System.Text.Json, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies. The system cannot find the file specified.’.
15:00:30.9763 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [140] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Shared\Send Email (0365).xaml. Reason was ‘Could not load file or assembly ‘System.Text.Json, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies. The system cannot find the file specified.’.
15:00:30.9770 => [ERROR] [UiPath.Studio] [140] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Shared\Send Email (0365).xaml. Reason was ‘Could not load file or assembly ‘System.Text.Json, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies. The system cannot find the file specified.’.
I am attaching the send email xaml
Here is my studio packages list
Send Email.xaml (13.0 KB)