title: Creating a test report with Azure Pipelines and Coverlet does not create the coverage.opencover.xml file
body: <p>Here is my solution structure:</p>
  
  <pre><code>.
  ├── Application
  ├── Application.Core
  ├── Application.Domain
  └── Application.UnitTests -&gt; HAS codecov 1.9.0 NuGet package installed
  </code></pre>
  
  <p>The build script works otherwise fine, but I'm unable to get it to create the coverlet results as <code>coverage.opencover.xml</code> format at the root folder.</p>
  
  <p>My azure-pipelines.yml:</p>
  
  <pre><code>trigger:
    - master
  
  pool:
    vmImage: "vs2017-win2016"
  
  variables:
    solution: "**/*.sln"
    buildPlatform: "Any CPU"
    buildConfiguration: "Release"
  
  steps:
    - task: DotNetCoreCLI@2
      displayName: "Building **/*.csproj..."
      inputs:
        command: build
        projects: "**/*.csproj"
        arguments: "--configuration Release"
  
    - task: DotNetCoreCLI@2
      condition: succeededOrFailed()
      displayName: Testing **/*.UnitTests/*.csproj
      inputs:
        command: test
        projects: |
          **/*.UnitTests/*.csproj
        arguments: '--configuration $(buildConfiguration) /p:CollectCoverage=true /p:CoverletOutput=$(Agent.BuildDirectory)\coverage /p:CoverletOutputFormat=opencover /p:Exclude="[*Tests]*"'
        nobuild: true
  
    - task: PublishTestResults@2
      condition: succeededOrFailed()
      inputs:
        testRunner: VSTest
        testResultsFiles: "**/*.opencover.xml"
    - powershell: .\codecov.ps1 -token $(CODECOV_TOKEN) $(Agent.BuildDirectory)\coverage.opencover.xml
      displayName: Upload to CodeCov.io
  </code></pre>
  
  <p>As a result, I get the following output for the <code>Testing **/*.UnitTests/*.csproj</code> task:</p>
  
  <blockquote>
    <p>Starting: Testing **/<em>.UnitTests/</em>.csproj
    ============================================================================== Task         : .NET Core Description  : Build, test, package, or
    publish a dotnet application, or run a custom dotnet command Version<br>
    : 2.162.0 Author       : Microsoft Corporation Help         :
    <a href="https://docs.microsoft.com/azure/devops/pipelines/tasks/build/dotnet-core-cli" rel="nofollow noreferrer">https://docs.microsoft.com/azure/devops/pipelines/tasks/build/dotnet-core-cli</a>
    ============================================================================== C:\windows\system32\chcp.com 65001 Active code page: 65001 "C:\Program
    Files\dotnet\dotnet.exe" test
    d:\a\1\s\BlazorApp.UnitTests\BlazorApp.UnitTests.csproj
    --logger trx --results-directory d:\a_temp --configuration Release /p:CollectCoverage=true /p:CoverletOutput=d:\a\1\coverage
    /p:CoverletOutputFormat=opencover /p:Exclude=[<em>Tests]</em> Test run for
    d:\a\1\s\BlazorApp.UnitTests\bin\Release\netcoreapp3.1\BlazorApp.UnitTests.dll(.NETCoreApp,Version=v3.1)
    Microsoft (R) Test Execution Command Line Tool Version 16.3.0
    Copyright (c) Microsoft Corporation.  All rights reserved.</p>
    
    <p>Starting test execution, please wait...</p>
    
    <p>A total of 1 test files matched the specified pattern. Results File:
    d:\a_temp\VssAdministrator_fv-az74_2019-12-25_11_32_03.trx</p>
    
    <p>Test Run Successful. Total tests: 1
         Passed: 1  Total time: 1.5842 Seconds</p>
  </blockquote>
  
  <p>Problem is that no <code>coverage.opencover.xml</code> file is created even the <code>yml</code> parameters define the coverlet settings which should be executed. The <code>codecov.ps1</code> PowerShell script works if it can find the test result file which is now missing.</p>