I am trying to get a batch program to run the uirobot.exe and then run the xaml file listed after it. However all that is happening is the batch file is running and then closing. It doesn’t appear as if the xaml file is even running, because other wise, i would get a messagebox to pop up sayng hello.
Could you help me figure out hte issue. Here is my batch file
Is your project Windows-Legacy or Windows?
If Windows project, can you try to use --file option with nupkg file or --process option because Windows project Is not supported to launch from xaml file.
Please see the following document in details.
C:\Users\dp\AppData\Local\Programs\UiPath\Studio>UiRobot.exe execute --file “C:\Users\dp\Documents\UiPath\Display Message\Main.xaml”
You can only run .NET6 .nupkg files or published process from the UiRobot command line.