You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fails after printing "Calculating coverage result..." with the error "The given key '' was not present in the dictionary." at at Coverlet.Core.Coverage.GetSourceLinkUrl(Dictionary`2 sourceLinkDocuments, String document)
Everything works as expected if the UseSourceLink switch is omitted.
The text was updated successfully, but these errors were encountered:
Hi, I have the exact same issue in Azure DevOps with the last version available, I do not use Sonnar or any other third party tool, it's easy to reproduce:
Use the default Azure Build Pipeline .Net Core template (like Asp.Net Core)
Use these arguments in Azure DevOps .net core task:
On windows 10, dotnet core 3 preview 5.
Using this repo, running the following command:
dotnet test Tests/Apex.Serialization.Tests/Apex.Serialization.Tests.csproj -f netcoreapp2.2 -c Debug --logger "trx;LogFileName=results.trx" /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:Include="[Apex.]" /p:UseSourceLink=true
Fails after printing "Calculating coverage result..." with the error "The given key '' was not present in the dictionary." at at Coverlet.Core.Coverage.GetSourceLinkUrl(Dictionary`2 sourceLinkDocuments, String document)
Everything works as expected if the UseSourceLink switch is omitted.
The text was updated successfully, but these errors were encountered: