RemoteException wrapping System.Exception: NU1202: Package Test1 1.0.1 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Test1 1.0.1 supports: net8.0 (.NETCoreApp,Version=v8.0)

Hi Team, Kindly provide solution for the below problem.

Problem Statement: I have written one UiPath script with cross-platform selected for a Process in UiPath Studio Version 23.10.2 which I had ran in docker with Linux Robot version Robot Version with Docker Image Tags: 23.10.69.35238-robot23.10.0 and when I tried the same written one UiPath script cross-platform selected for a Process in UiPath Studio Version 24.10.0 which I am tring to run in docker with Linux Robot version Robot Version with Docker Image Tags: 23.10.69.35238-robot23.10.0:
I am getting the error message as “RemoteException wrapping System.Exception: Failed to install package ‘Test1.1.0.1’ —> RemoteException wrapping System.Exception: NU1202: Package Test1 1.0.1 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Test1 1.0.1 supports: net8.0 (.NETCoreApp,Version=v8.0)
NU1202: Package Test1 1.0.1 is not compatible with net6.0 (.NETCoreApp,Version=v6.0) / alpine.3.14-x64. Package Test1 1.0.1 supports: net8.0 (.NETCoreApp,Version=v8.0)
— End of inner exception stack trace —
at UiPath.Service.Core.ProjectInstaller.InstallCore(InstallProjectCommand installCommand) in /home/vsts/work/1/s/Robot/UiPath.Service.Core/Impl/ProjectInstaller.cs:line 65
at UiPath.Service.Core.Telemetry.RobotTelemetryExtensions.WithTelemetry[TResult](IRobotTelemetryClient container, Func1 internalFunc, RobotTelemetryOperationBase telemetryOperation, Action1 telemetryArgsFunc) in /home/vsts/work/1/s/Robot/UiPath.Service.Core/Telemetry/RobotTelemetryClient.cs:line 66
at UiPath.Service.Core.ProjectInstaller.InstallWithTelemetry(InstallProjectCommand installCommand) in /home/vsts/work/1/s/Robot/UiPath.Service.Core/Impl/ProjectInstaller.cs:line 46
at UiPath.Service.Core.ProjectInstaller.<>c__DisplayClass5_0.<b__0>d.MoveNext() in /home/vsts/work/1/s/Robot/UiPath.Service.Core/Impl/ProjectInstaller.cs:line 35
— End of stack trace from previous location —
at UiPath.Service.Core.ProjectInstaller.Install(InstallProjectCommand installCommand) in /home/vsts/work/1/s/Robot/UiPath.Service.Core/Impl/ProjectInstaller.cs:line 35
at UiPath.Service.Core.PackageService.InstallProcess(PublishedProcess process, ImpersonableIdentity identity, IRobot robot, CancellationToken ct) in /home/vsts/work/1/s/Robot/UiPath.Service.Core/Impl/PackageService.cs:line 53
at UiPath.Service.Job.InstallPackage(ImpersonableIdentity identity, CancellationToken ct) in /home/vsts/work/1/s/Robot/UiPath.Service.Core/Impl/Job.cs:line 186
at UiPath.Service.Job.PrepareForExecution(ImpersonableIdentity identity, CancellationToken ct) in /home/vsts/work/1/s/Robot/UiPath.Service.Core/Impl/Job.cs:line 174
at UiPath.Service.Job.UiPath.Service.Core.IExecutorEvents.ExecutorAvailable(ImpersonableIdentity identity, CancellationToken ct) in /home/vsts/work/1/s/Robot/UiPath.Service.Core/Impl/Job.cs:line 384
at UiPath.Service.Core.ExecutorService.Available(AvailableMessage availableMessage) in /home/vsts/work/1/s/Robot/UiPath.Service.Core/Executor/ExecutorService.cs:line 40
at UiPath.CoreIpc.Server.<>c__DisplayClass7_3.<<-ctor>g__InvokeMethod|6>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.Server.<>c__DisplayClass7_1.<<-ctor>g__HandleRequest|3>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.Server.<>c__DisplayClass7_2.<<-ctor>b__5>d.MoveNext()
— End of stack trace from previous location —
at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List1 cancellationTokens, Func2 func, String message, Func`2 exceptionHandler)”.

Kinldy provde solution for this problem statement.

Appriciate for your help in advance!

@M_Muzammil ,

Tried this solution?

Thanks,
Ashok :slightly_smiling_face:

Hi @ashokkarale , Thank you for the solution. I had tried with version 23.10.x and its working fine. But I am looking for UiPath Studio version 24.10.x. Could you please help me how I can upgrade my UiPath script written in 23.10.x to 24.10.x that is compactable with .NET version or How I can resolve the issue of v24.10.x not supporting .NET v5.0 and above?

Hi @ashokkarale, I see 2023.10.x as latest but UiPath studio version is 2024.10.x. Could you please help me with how .net v06 can be supported in UiPath 2024.10.x as per the below link :Overview - Compatibility matrix

Appriciate for you help in advance.

@M_Muzammil,

Try downgrading UiPath.System pcakge.

Thanks,
Ashok :slight_smile:

Hi @ashokkarale,
Thanks for the solution.

I tried downgrading UiPath.System.Activities Package. This is not working. Also I there is no such package as UiPath.System.Package in UiPath Studio version 24.10.0. Could you please help me with any other alternative solution.

Appreciate for you help in advance.

@M_Muzammil,

This is the package I’m talking about

image

Thanks,
Ashok :slight_smile:

Hi @ashokkarale , I tried with the option of downgrading to 24.3.0 and created a sample script for run in docker robot version 23.10.69.35238-robot23.10.0 23.10.69.35238-robot23.10.0 but I am facing the same issue. Please find the attachment for you reference.
Also I tried with 23.10.x versions But facing same issue.

Kindly provide any other solution.

Appreciate for your help in advance.

Hi @M_Muzammil,

I am facing a similar issue as you. Do you have any solutions to solve this problem?
Thank you very much if you can share your solution.

If in the docker VM, the robot is not having a version that is having a higher version than 2024.2.x or 2024.10.x (starting with those versions, the default .NET is 8), the only solution will be to:

  1. Open the project in a Studio 2023.10.x (I recommend at this moment 2023.10.7)
  2. Downgrade all the dependencies to latest stable versions in 2023.10.x (it the package is not having this numbering, open its details in Manage Packages and look for the UiPath.Platform dependency, its version will tell you the version for which its compatible)
  3. Retest the project and fix the errors
  4. Publish the project
  5. Retry to run it in the Linux Robot that is on 2023.10.x version

This was explained here Robot - .NET 8 projects fail to run

Hi @marian.platonov,

Thank you very much for your response.
Could you please provide me with the download link for Studio version 2023.10.7?
I can not find link download on forum.

Have a great day!

Sure, check this link https://download.uipath.com/versions/23.10.7/UiPathStudio.msi

Thanks so much.
Nice day!

1 Like

Isn’t there a new docker image available for 24.10 version?

Can you check if this command helps?

docker pull uipathprod.azurecr.io/robot/uiautomation-runtime:latest24.10

Reference Robot - Installing on Linux

1 Like

Yes, it worked perfect. Thank you!

1 Like