ERROR during publishing a package

Hi everyone.

I am trying to publish my solution but I have this error.

Project cannot be published. GUARDAR file has validation errors.

System.Exception: Project cannot be published. GUARDAR file has validation errors. —> System.Activities.InvalidWorkflowException: GUARDAR
_ at UiPath.Workflow.ViewModels.MainViewModel.CheckProjectForErrors()_
_ at UiPath.Workflow.ViewModels.MainViewModel.PackAndPush()_
_ — End of inner exception stack trace —_

Guardar is SAVE in Spanish. But I do not have any .xaml file with the name Guardar so I do not know how to fix it.

I have my solution in local computer, in Documents in UiPath Folder, with a Main in the General project folder , and the rest of Modules in another folder.

Ccould anyone help me?

Thank you in advance

Hello there,
Make sure your project folder doesn’t contains any xaml file which is incomplete (any error ).
Also make sure all the xaml related to main(in case your invoking any child workflow) resides in same project folder.

I create a new project (new folder) and copy paste everything and I could publish. The error was the name of the project probably. Thank you for your quick answer.

2 Likes