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?
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?
Hey @sifuhall
Could you please show us the command which you have used and also the version of the software you are using ?
Thanks
#nK
Hello @sifuhall ,
.are you using the Uipath assistant or robot.exe… Can you go to the Uipath folder and get the robot.exe path…
Path of robot.exe /file path of .xaml file
This is the command I am using
UiRobot execute --file “\ds1812\public\UIPath\Fidelity\Main.xaml”
I am using UIPath Studio 2022.4.0
Also @sifuhall
Just a reference on the cmd for you,
UiRobot.exe execute --file <File_Path>
Thanks
#nK
I think maybe the forum editor stripped a backslash?
I’ll try wrapping in code tags
UiRobot execute --file "\\ds1812\public\UIPath\Fidelity\Main.xaml"
Also, just to remove the network share from the issue I have copied it locally
UiRobot execute --file "C:\Users\Administrator\Desktop\bots\Fidelity\Main.xaml"
The response is
You can only run .NET6 .nupkg files or published process from the UiRobot command line.
C:\Program Files\UiPath\Studio>uirobot --version
22.4.0.0
Hey @sifuhall
So you are using the latest community release for which we still don’t have docs…
May be a chance of bug as well.
So when you created your xaml file project what was the project type selected → is that windows legacy ?
Thanks
#nK
I did not select that. I selected blank process and went from there.
I’ll try that.
Also, is it possible to download a previous version?
Hey @sifuhall
https://download.uipath.com/version/21.10.5/UiPathStudio.msi
But what I will suggest is to go with the same latest version and let’s try to troubleshoot and confirm things before you come to conclusion.
Thanks
#nK
How can I enable Windows Legacy?
Also, it would appear the link doesn’t work?
Hey @sifuhall
Sorry,My bad. It’s a typo.
https://download.uipath.com/versions/21.10.5/UiPathStudio.msi
Thanks
#nK
Thank you so much for everyone that helped me with this.
After much testing I found out it works with the current version if I select Windows Legacy as @Nithinkrishna suggested.
Thanks again for the excellent help!
Cool buddy @sifuhall
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.