How to troubleshoot "[error]Error packaging project: Error: The process 'C:\Program Files\dotnet\dotnet.exe' failed with exit code 1" error
Issue description:
Error: "[error]Error packaging project: Error: The process 'C:\Program Files\dotnet\dotnet.exe' failed with exit code 1"
Causes:
- Using legacy CLI with Windows Project.
- An incorrect secret value is defined in the Service Connection.
- Incorrect Scopes defined in the Service Connection.
Resolutions:
- Updated to the latest version of UiPath CLI/Azure DevOps Extension .
- Regenerated a new secret in the External App Registration in Orchestrator and added to Service Connection
- Added Scopes from Documentation