Hi people,
I can’t seem to publish any robots as I keep getting the Unused Dependencies error, I have already used the Remove Unused Dependencies feature and still not getting anywhere. I have even changed the Workflow Analyzer settings so that this code is set as ‘Warning’ instead of ‘Error’ but still no joy.
Here it is in detail:
Error ST-USG-010 Unused Dependencies System.AggregateException: One or more errors occurred. (Method not found: ‘Void UiPath.Studio.Plugin.Workflow.CodeAnalysis.UnusedPackagesResolver.UnusedPackagesResolver…ctor(UiPath.Studio.Plugin.Workflow.CodeAnalysis.Interfaces.IExpressionCompiler)’.)
—> System.MissingMethodException: Method not found: ‘Void UiPath.Studio.Plugin.Workflow.CodeAnalysis.UnusedPackagesResolver.UnusedPackagesResolver…ctor(UiPath.Studio.Plugin.Workflow.CodeAnalysis.Interfaces.IExpressionCompiler)’.
at UiPath.Studio.RulesLibrary.Rules.Usage.UnusedDependenciesContextAdapter.GetUnusedDependencies(IProjectModel projectModel)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at UiPath.Studio.RulesLibrary.Rules.Usage.UnusedDependenciesContextAdapter.GetUnusedDependencies(IProjectModel projectModel)
at UiPath.Studio.RulesLibrary.Rules.Usage.UnusedDependenciesRule.<>c__DisplayClass3_0.<b__0>d.MoveNext() in D:\a\1\s\Studio\WorkflowAnalyzer\UiPath.Studio.RulesLibrary\Rules\Usage\UnusedDependenciesRule.cs:line 29
— End of inner exception stack trace —
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at UiPath.Studio.RulesLibrary.Rules.Usage.UnusedDependenciesRule.Inspect(IProjectModel projectModel, Rule ruleInstance) in D:\a\1\s\Studio\WorkflowAnalyzer\UiPath.Studio.RulesLibrary\Rules\Usage\UnusedDependenciesRule.cs:line 29 at UiPath.Studio.Analyzer.Execution.Jobs.RuleJob
1.ExecuteInternal()
at UiPath.Studio.Analyzer.Execution.Jobs.JobBase.Execute()
Thanks