Hi colleagues,
I’m trying to execute from command line the automatization process and when use:
“C:\Users\user\AppData\Local\Programs\UiPath\Studio\UiRobot.exe” execute --file “LocationProject\Main.xaml”
or
“C:\Users\admSeq\AppData\Local\Programs\UiPath\Studio\UiRobot.exe” --process “nameProcess”
or
“C:\Users\user\AppData\Local\Programs\UiPath\Studio\UiRobot.exe” execute --file “LocationProject\Project.json”
get the next message:
“Only .net6 .npkg files or processes published from the UiRobot command line can be executed”
What’s the meaning? How can I migrate the project to .net6?
Thanks in advance!!
Emira
(Emira Gasmi)
October 7, 2022, 6:21pm
2
Hi @Sistemas.KWD
Was the process originally published using the command line?
Sistemas.KWD
(Sistemas KWD Spain)
October 8, 2022, 10:58am
3
Hi Emira,
No, the process was published locally and orchestrator.
Thanks!!
Hi @Sistemas.KWD
Welcome to the Community!!
Checkout this thread
I’m trying to use a commandline to execute UIRobot.
I get the following error:
You can only run .NET6 .nupkg files or published process from the UiRobot command line.
I’m trying to execute an xaml file.
How can I get a nupkg or net6 file?
Regards
Sudharsan
You can also refer to this thread @Sistemas.KWD
Hi Joshi,
So you want to run the process from command line without the Robot connected to Orchestrator.
Please try with this command:
UiRobot.exe -file “%HOMEPATH%\Documents\UiPath\test_debugging\Main.xaml”
Details about command line arguments in the Robot user guide:
Regards
Sudharsan
Emira
(Emira Gasmi)
October 9, 2022, 10:03am
6
Hi @Sistemas.KWD
What type of project are you testing?
You need a Windows legacy type of project for the command to work.
Can you check and try again?
UiRobot.exe execute --file <File_Path>
Sistemas.KWD
(Sistemas KWD Spain)
October 18, 2022, 9:42am
7
Hi Emira,
I had migrated the project from Windows Legacy to Windows and I have been this sentence doesn’t work in this platform. The sentence that it’s working is:
UiRobot.exe execute --process
Thanks!