Migrating Activities to .NET 5/6

Hi,

I’m following the steps described here to migrate to .NET 6:

But none of the mentioned packages are available on the respective versions posted there.

I also face the same issue with .NET 5, none of the versions informed on the documentation did get resolved.

Seeing the Visual Studio logs about the attempt to resolve the System.Activities.Core.Presentation dependency, the nearest version available is an alpha version:

Severity Code Description Project File Line Suppression State
Error NU1102 Unable to find package System.Activities.Core.Presentation with version (>= 6.0.0-20220318.2)

  • Found 3 version(s) in MyGet-UiPathDev [ Nearest version: 1.0.0-alpha003 ]
  • Found 1 version(s) in MyGet-Workflow [ Nearest version: 1.0.0-alpha004 ]
  • Found 0 version(s) in Microsoft Visual Studio Offline Packages
  • Found 0 version(s) in nuget.org
  • Found 0 version(s) in Stride

These are the package sources I’m using:
image

Am I missing some package source here?

Thank you.

2 Likes

@alexandru @loginerror @Pablito do you guys know something about it?

1 Like

Hi,
I don’t see an official feed on your list:
image

It is already there:

image

You can also perform a manual search directly on the official feed and you will notice the version on the documentation simply does not exist.

System.Activities.Core.Presentation

System.Activities

It seems the version informed on the documentation are not public.

@alexandretperez Did you find any solution for the above System.Activity package issue?

1 Like

Hi @Venkat_A

Yes, I don’t remember exactly what the source I used are, but definitely they are among these:

 <add key="UiPath-Official" value="https://uipath.pkgs.visualstudio.com/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json" />
 <add key="NuGet-v2" value="https://nuget.org/api/v2/" />
 <add key="NuGet-v3" value="https://api.nuget.org/v3/index.json" />
 <add key="MyGet" value="https://www.myget.org/F/uipath/" />
 <add key="MyGet-workflow" value="https://www.myget.org/F/workflow/api/v3/index.json" />
 <add key="UiPath-Internal" value="https://uipath.pkgs.visualstudio.com/Public.Feeds/_packaging/UiPath-Internal/nuget/v3/index.json" />
 <add key="MyGet-Dev" value="https://www.myget.org/F/uipath-dev/api/v3/index.json" />
1 Like

Thank you :slight_smile: @alexandretperez, your solution worked for me.

1 Like