发布流程后, 用UiRobot.exe执行,提示没有project.json ,可是把这个文件拷到对应目录,还是不行。

C:\Windows\system32>C:\Users\XXJS\AppData\Local\Programs\UiPath\Studio\UiRobot.exe execute --file “E:\项目\6自动上传周报\6自动上传周报.1.0.1.nupkg”
6自动上传周报: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘C:\Users\XXJS.nuget\packages\6自动上传周报\1.0.1\content\project.json’.

Hi @zhangweijie733,

Have you tried precising the entry point ?

It would give you something like this

C:\Users\XXJS\AppData\Local\Programs\UiPath\Studio\UiRobot.exe execute --file “E:\项目\6自动上传周报\6自动上传周报.1.0.1.nupkg” --entry "Main.xaml"

Also, if you want to reduce your effort of calling UiRobot through CMD or PowerShell, you can add it to your environnement variables

Here’s how to do so

Lastly, you can also call the --help method inside your terminal to display what you can do with the UiRobot command. If you have UiRobot inside your env. variables, the help call will be like this UiRobot --help