Only .net6 .npkg files or processes published from the UiRobot command line can be executed

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!!

Hi @Sistemas.KWD
Was the process originally published using the command line?

Hi Emira,
No, the process was published locally and orchestrator.
Thanks!!

Hi @Sistemas.KWD

Welcome to the Community!!

Checkout this thread

Regards
Sudharsan

You can also refer to this thread @Sistemas.KWD

Regards
Sudharsan

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>

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!