UiPath errors / Config
Could not find file ...\.nuget\packages\...\Main.xaml
Cause
On non-persistent VDI/VM environments the robot's NuGet cache is wiped on logoff, so later Orchestrator-triggered runs cannot find the unpacked .xaml files.
Fix
Confirm by logging off and back on and checking the path. If the cache clears on logoff the image is non-persistent — have IT persist the profile or redirect the NuGet folder to a persistent drive. Short term, run the Robot service under a Windows service account to keep the cache alive. Verify project.json's 'main' points to Main.xaml.
Part of the Automation Error Index — UiPath errors: browse all.
Hitting an automation error we have not covered?
AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.
Describe the problem