Adam-Coetzee

Results 5 comments of Adam-Coetzee

@alexanderlinne I can try get a more reproduceable sample when I get time, apologies I have other priorities. I tried running with debug configuration in the pipeline and got the...

Update: Can get it working in the pipeline by invoking directly via script, ie ~~~ - bash: dotnet test ... ~~~ The usual method for running test in pipeline is...

Oh right okay I think I've isolated the difference somewhat, and recreated the issue on my local machine. Fails when you pass the `--collect "Code Coverage"` flag when running the...

Similarly, if your [DotNetCoreCLI@2](https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/dotnet-core-cli-v2?view=azure-pipelines) task is attempting to collect coverage ie `publishTestResults: true` with ` --collect:"Code Coverage"` it will fail. So set `publishTestResults: false` when invoking with cli task in...