dotCover CLI (2025.2.20251003.202247) fails to capture code coverage for IIS-hosted web applications during Azure CI pipeline execution

I’m trying to generate a coverage report for an ASP.NET application hosted on IIS using JetBrains dotCover CLI in an Azure DevOps pipeline. I can achieve this manually using dotCover standalone and also with the Visual Studio extension.

Previously, older versions of dotCover supported commands like: (I read about it, never tried it.)

dotCover cover-iis --Instance=1
dotCover send --Command=GetSnapshotAndKillChildren --Instance=1

But in the latest dotCover CLI (installed as JetBrains.dotCover.CommandLineTools), I only see commands like cover, merge, report, and there is no send or cover-iis.

I tried almost everything available, below command did wait but couldn't proceed, it was looking as if the command prompt is hanged.

dotCover cover \
  --target-executable "C:\Program Files\dotnet\dotnet.exe" \
  --target-arguments "test MyProject.csproj" \
  --xml-report-output coverage.xml
1
1 comment

Krakhil44 Running coverage to IIS was supported until 2025.2. In 2025.2, we have removed support for IIS due to technical reasons. We may restore the support in an upcoming release, likely in 2025.3, but this has not been determined yet.

Thanks,

Tom

1

Please sign in to leave a comment.