Updating UiPath.System.Activities from 22.4.x to 22.10.x fails

Hello everyone,

I’m trying to update all of the packages of the DU Template to the newest version but the upgrade of the UiPath.System.Activities package from any 22.4.X to any 22.10.x version fails with the error message

Cannot add a package that contains System.Activities.ViewModels

image

Stack Trace
Error: System.InvalidOperationException: Cannot add a package that contains System.Activities.ViewModels.
   at UiPath.PackageExplorer.UI.ViewModels.PackageExplorerViewModel.<>c__DisplayClass177_0.<ValidateDependencies>b__1(IEnumerable`1 packages, CancellationToken ct)
   at UiPath.PackageExplorer.Core.Services.PackageExplorerService.SearchVersionsInMultiFeed(ISearchVersionsInfo searchInfo, Action`2 resultsCallback, CancellationToken token)
   at UiPath.PackageExplorer.Core.Services.PackageExplorerService.SearchVersionsInMultiFeed(ISearchVersionsInfo searchInfo, Action`2 resultsCallback, CancellationToken token)
   at UiPath.PackageExplorer.Core.Services.PackageExplorerService.SearchVersions(ISearchVersionsInfo searchInfo, Action`2 resultsCallback, CancellationToken token)
   at UiPath.PackageExplorer.UI.ViewModels.PackageExplorerViewModel.ValidateDependencies(CancellationToken cancellationToken)
   at UiPath.Studio.Shell.Services.ProjectContextService.<>c__DisplayClass11_0.<<InstallPackages>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at UiPath.Studio.App.Desktop.Windows.WindowCommandsExtensions.ExecuteWithCommandsDisabledAsync[T](ICommandManager commandManager, Func`1 func)
   at UiPath.PackageExplorer.UI.ViewModels.PackageExplorerViewModel.Install(), HResult -2146233079```

I can see that the biggest change in the dependencies for 22.4 to 22.10 is the addition of the dependency to System.Activities.ViewModels [1.0.0-20220715.4, ).
I guess the error message relates to this.

Could this be a permission problem or do you guys have the same issue?

Kind regards,
T0Bi

@T0Bii can you please let us know what Studio version are you using? If it’s 2021.10.x it’s a known issue that will be fixed.

Also, is this a windows or cross-platform project?