Unexpected error has occurred during the library compilation process: Unable to create activity builder for Framework\CloseAllApplications.xaml. Reason was 'Cannot create unknown type '{http://schemas.uipath.com/workflow/activities}LogMessage'.'

Hi Team,
I have recently upgraded my Studio ver21.4.4. I am tryin to use RE-Framework template in one of my solution but while running the file i am getting below error in compilation-

at UiPath.CoreIpc.Connection.Send(Request request, CancellationToken token)
at UiPath.CoreIpc.ServiceClient1.<>c__DisplayClass18_01.<b__1>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.IOHelpers.WithTimeout[TResult](IEnumerable1 cancellationTokens, TimeSpan timeout, Func2 func, String message, Func2 exceptionHandler) at UiPath.CoreIpc.ServiceClient1.<>c__DisplayClass18_01.<InvokeAsync>b__2(Exception ex) at UiPath.CoreIpc.IOHelpers.WithTimeout[TResult](IEnumerable1 cancellationTokens, TimeSpan timeout, Func2 func, String message, Func2 exceptionHandler)
at UiPath.CoreIpc.ServiceClient1.InvokeAsync[TResult](String methodName, Object[] args) at UiPath.Studio.Ipc.Shared.Services.IpcProxyBase1.RemoteExecute[T](Func`2 remoteFunc, String callerName), HResult -2146232800
21:31:19.3736 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [73] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for System1\System1_NavigateToWorkitems.xaml. Reason was ‘Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}Click’.’.
21:31:19.3740 => [ERROR] [UiPath.Studio] [73] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for System1\System1_NavigateToWorkitems.xaml. Reason was ‘Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}Click’.’.
21:31:19.4057 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [73] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Framework\Process.xaml. Reason was ‘Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}LogMessage’.’.
21:31:19.4061 => [ERROR] [UiPath.Studio] [73] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Framework\Process.xaml. Reason was ‘Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}LogMessage’.’.
21:31:19.4784 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [73] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Framework\InitAllSettings.xaml. Reason was ‘Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}LogMessage’.’.
21:31:19.4790 => [ERROR] [UiPath.Studio] [73] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Framework\InitAllSettings.xaml. Reason was ‘Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}LogMessage’.’.
21:31:19.4794 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [43] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for System1\System1_Close.xaml. Reason was ‘Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}BrowserScope’.’.
21:31:19.4790 => [ERROR] [UiPath.Studio] [43] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for System1\System1_Close.xaml. Reason was ‘Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}BrowserScope’.’.
21:31:19.4811 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [43] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Framework\CloseAllApplications.xaml. Reason was ‘Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}LogMessage’.’.
21:31:19.4790 => [ERROR] [UiPath.Studio] [43] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Framework\CloseAllApplications.xaml. Reason was ‘Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}LogMessage’.’.
21:31:19.5017 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [43] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Framework\GetAppCredential.xaml. Reason was ‘Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}GetRobotCredential’.’.
21:31:19.5024 => [ERROR] [UiPath.Studio] [43] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Framework\GetAppCredential.xaml. Reason was ‘Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}GetRobotCredential’.’.
21:31:19.5378 => [ERROR] [UiPath.Studio.App.Logging.OutputLogger] [43] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Framework\KillAllProcesses.xaml. Reason was ‘Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}LogMessage’.’.
21:31:19.5383 => [ERROR] [UiPath.Studio] [43] Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Framework\KillAllProcesses.xaml. Reason was ‘Cannot create unknown type ‘{http://schemas.uipath.com/workflow/activities}LogMessage’.’.

Also i am getting the below error in the Manage Package Window-

Kindly help.

Hi @Arifur.Rahman,

Tools > Apps > Project Dependencies Mass Update Tool

Can you try to do a batch update once by going to this area?

Regards,
MY

  • Upgrade the Studio to 2021.10.8 or 2022.4.4 as your Studio version is not supported anymore by UiPath.
  • Add only these external package sources in C:\Program Files\UiPath\Studio\NuGet.config
  <packageSources>
    <!-- Add this repository to the list of available repositories -->
    <add key="Local" value="C:\Program Files\UiPath\Studio\Packages\" />
    <!--  <add key="Local" value="C:\local feed path\" /> -->
    <add key="Marketplace" value="https://www.myget.org/F/workflow/api/v3/index.json" />
    <add key="Connect" value="https://gallery.uipath.com/api/v2" />
    <add key="Official" value="https://packages.uipath.com/activities" />
    <add key="nugetorg" value="https://api.nuget.org/v3/index.json" />
</packageSources>
  • As per our software requirements, only TLS 1.2 should be enabled. You can further check our documentation Software requirements
  • This type of error is thrown when there is a network issue between the machine and external feed address, which could be due to the firewall enabled in the machine or any restrictions on accessing online feeds like being in a proxy.

Please follow these articles:

https://uipath-survey.secure.force.com/CaseView/articles/Knowledge/How-to-troubleshoot-error-NU1801-Unable-to-load-the-service-index-for-source-https-api-nuget-org-v3-index-json?lang=en_US

Thanks @marian.platonov I have upgraded my Studio to 2022.4.4 and the compile error is now resolved.

Hi @muhammedyuzuak i have tried updating the packages via mass update tool but seems it was an issue with the Studio ver which is now resolved after upgrading it to 22.4.4

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.