515 questions
An old colleague of mine had similar issue. After a long series of troubleshooting, this was what resolved it. We replaced the DotNetCoreCLI@2 task with a 'powershell' task.
- powershell: |
dotnet test your.dll --no-restore --logger trx
displayName: dotnet2powershelltest
Let me know if this resolved your issue.