When opening my brand new project I get several Nuget related errors

Studio Version: 2024.10.5
Packages Added (besides the default):

  • UiPath.MicrosoftOffice365.Activities = 2.7.22
  • UiPath.Database.Activities = 1.9.0

Created this brand new project and when I start it I get several Nuget (Package) Errors. Here are the errors:

NU1102: Unable to find package System.Configuration.ConfigurationManager with version (>= 8.0.0)

NU1102: Unable to find package System.Runtime.Caching with version (>= 8.0.0)

NU1102: Unable to find package System.Diagnostics.PerformanceCounter with version (>= 8.0.0)

NU1102: Unable to find package System.DirectoryServices.Protocols with version (>= 8.0.0)

When I run the project, it stops at the very first activity (a O365 Activity) with this error:

Read Range - Config File: Could not load file or assembly ‘System.Runtime.Caching, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. Das System kann die angegebene Datei nicht finden.

Any ideas what might be the issue? We are using automation cloud and this problem appears since the newest studio version. We have these package sources installed:

Edit Just opened the project in a older Studio Version, and here it works. Same Tenant, same everything, just the studio version is different. Version: 2024.10.1

Old studio version… Some packages may not be compatible between version.

looks like a package defines to a version with the minimum runtime rule, which is not available in the feeds.

We suggest the following:

  • expand the dependency tree and check for resolving variations and issues
  • isolate the dependency that is requesting the version too high and not available
  • try some downgrades on that package

Also try again e.g. with checking if the reported dependencies are offered
E.g.

sometimes the feeds a lazy / blocked and offer not the needed / requested packages temporary.

Feel free to check also for all other packages reported from above

… etc

UPDATE1 - hint on offered feed:
Ensure / check this feed source:
grafik

https://api.nuget.org/v3/index.json

@ShadowDom,

Try this approach.

  1. Navigate to .nuget folder where the packages get’s downloaded.
    C:\Users\username\.nuget
  2. Delete the packages folder
  3. Now open the project
  4. So whatever packages required, UiPath should be downloading those with specific versions.

Thanks,
Ashok :slight_smile:

Thx guys I will check this all out. In the meantime check this:

Dependency is listed as 6.0 but somehow he wants to install 8.0 or something.

@ShadowDom
lets focus on the configured feeds.
Can you share with us the feed settings / and ensure that
https://api.nuget.org/v3/index.json is configured as well? Thanks

I did just that, and i get the exact same error message.

It is not:

But I thought that nuget feed is included in the pkgs.dev.azure feed from UiPath official.

then please add for issue analysis reasons

Cant because its restricted by the company policy. But I will check what I can do about it.
I thought that nuget feed is included in the pkgs.dev.azure feed from UiPath official.

Never had any issues in the past, since the new UiPath studio suddenly this issue exists.

as above mentioned and shown we can check feedwise and https://api.nuget.org/v3/index.jsonwas offering the package with its versions, the other not

However we recommend:

so we can analyse and isolate the issue

Damn you are quick :smiley: I will see how I can get this feed in there, will check back soon

In Automation Ops we have a policy, these 2 where disabled, i enabled it and now per default i have much more package sources in Studio and now the error is gone:

Thank you very much.

Thank you for pointing it out @ShadowDom. We will investigate it.

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

We figured out the issue. Using the extra feed (as suggested above) should no longer be necessary. It should work with the official azure feed only :slight_smile:

https://pkgs.dev.azure.com/uipath/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json

Excuses for stealing your solution mark @ppr :slight_smile:

1 Like