How to check if my dependencies are mixing .NET 6 and .NET 8 libraries in UiPath?

Hello community,

When deploying a project from Azure to Orchestrator, I get the following error:

The project currently contains references to more than one version of System.Private.CoreLib (net6 and net8).

The last modification I made was adding an Extract Document Data activity from the Document Understanding package.

My question is:

  • How can I check in UiPath Studio if my dependencies are mixing libraries from .NET 6 and .NET 8?
  • Is there a way to identify which package is bringing references to net8 and which one is still on net6?

I would appreciate any guidance or best practices to keep dependencies aligned.

Hi,

Usually it’s unnecessary to take care for mixing .net version to use UiPath activities package.
In my environment, set of the above activities packages works without error as the following.

So, higher version package in your child dependencies, might be accidentally used.

If it’s difficult to find it, it may be good to clear nuget cache folder, for now.

  1. Close Studio.
  2. Move %USERPROFILE%.nuget\packages to somewhere. (To be able to restore it later)
  3. Open Studio and the project then run.

Regards,