Hi all, I am trying to starting a bot via command line as follow:
C:\Users\HFDEG\AppData\Local\Programs\UiPath\Studio\UiRobot.exe -file “C:\Users\HFDEG\Documents\UiPath\CAHelper (Web)\Main.xaml”
I have checked the path to UiRobot.exe and it is correct.
I have also checked the path to Main.xaml.
I have also published the process but I get the error msg as below:
You can only run .NET6, .nupkg, or published process from the UIRobot command line.
Write this command (C:\Users\HFDEG\AppData\Local\Programs\UiPath\Studio\UiRobot.exe -file “C:\Users\HFDEG\Documents\UiPath\CAHelper (Web)\Main.xaml”) in note bad and change the extension to .txt to .bat then run open to notepad after that convert bat to exe file.
Which compatibility is your project, Windows-legacy, Windows or CrossPlatform?
If it’s Windows or CrossPlatform, we cannot launch process from xaml file as the following document. Please publish your project, then use --process <Package_ID> option.