If You CAN'T PUBLISH packages - here is SOLUTION


#1

Your validator in Studio says OK, but You can’t publish package (nuget). You got errors like this:

[ERROR] [UiPath.Workflow.Logging.StudioTraceListener] [31] System.Exception: Project cannot be published. UIPathExplorer test file has validation errors. —> System.Activities.InvalidWorkflowException: UIPathExplorer test
at UiPath.Workflow.ViewModels.MainViewModel.CheckProjectForErrors()
at UiPath.Workflow.ViewModels.MainViewModel.PackAndPush()
— End of inner exception stack trace —

other error I have found:

[UiPath.Workflow.Logging.StudioTraceListener] [8] SharpSvn.SvnInvalidNodeKindException: ‘D:\KODY\UIPATH SAMPLES’ is not a working copy directory
at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error, Object targets)
at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, svn_error_t* error, Object targets)
at SharpSvn.SvnClient.CleanUp(String path, SvnCleanUpArgs args)
at UiPath.Project.SourceControl.SVNSourceControl.b__47_0()
at UiPath.Project.SourceControl.SVNSourceControl.SVNClientAction(Func`1 action)
at UiPath.Project.SourceControl.SVNSourceControl.CleanUpWorkspace()


#2

The Solution is

  • there must be json file with each xaml file and only one xaml in a folder, also the path in json must be set to the xaml file.

Sometimes Uipath enterprise trial does not generate json, so try copy json file from other projects and manually change paths to your desired xaml.