I faced a problem with running a DevOps pipeline on self-hosted MacOS (Catalina) build agent and it fails on the step NuGet Package Restore. The same step is successful when run on Azure Pipeline agent.
The error is:
Unable to locate executable file: 'mono'. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
path
variable for the user account that is running your build agent? – riQQ