Steps to reproduce: I created the workflow and when I tried to publish the project I am getting error “Project cannot be published. ~email file has validation errors.” I do not have any email related stuff in this project. Also I have only this single project(xaml) file in the folder. Please help.
Current Behavior:
Expected Behavior:
Studio/Robot/Orchestrator Version:
Last stable behavior:
Last stable version:
OS Version:
Others if Relevant: (workflow, logs, .net version, service pack, etc):
The ~email file is the actual .xaml file name in your project. Before publishing UiPath checks the project for errors. That means that one of the activities in your workflow has validation errors. You could check the red and blue “bullets” to see exactly the activities that have errors.
Here is an example:
I get an error when publishing: “Project cannot be published. excel temp file has validation errors.”.
What other files do you have in your project folder?
I am also getting an error while trying to publish locally. Error - Invalid URI : URI is empty.
Error logs are :-
16:13:11:400 => [ERROR] [UiPath.Workflow.Logging.StudioTraceListener] [20] System.Exception: Publishing the project has
failed.
Error: Invalid URI: The URI is empty. —> System.UriFormatException: Invalid URI: The URI is empty.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri…ctor(String uriString)
at NuGet.PackageRepositoryFactory.CreateRepository(String packageSource)
at UiPath.Project.Deploy.ProjectPackageManager.InitPushRepository()
at UiPath.Project.Deploy.ProjectPackageManager…ctor()
at UiPath.Project.Deploy.ProjectPackageManager.get_Instance()
at UiPath.Project.ProjectManager.Publish(Int32 timeoutMS)
at UiPath.Workflow.ViewModels.MainViewModel.PackAndPush()
— End of inner exception stack trace —