title: Azure pipeline - Convert .coverage to xml to generate code coverage report
body: <p>I'm trying to generate a code coverage report using the build pipeline for the C# unit tests (MSTest2). Report can be generated using the Reportgenerator.exe but expects .xml file as the input. I have added the Visual Studio test task which has generated a .coverage file in the build artifact.  We could use CodeCoverage.exe to convert .coverage to .xml file. </p>
  
  <p>To test this locally, I have copied the .coverage file and on running: </p>
  
  <p><code>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Team Tools\Dynamic Code Coverage Tools\amd64&gt;CodeCoverage collect /IIS /session:WebSession /output:'C:\CoverageFiles\test.coverage'</code></p>
  
  <p>and </p>
  
  <p><code>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Team Tools\Dynamic Code Coverage Tools\amd64&gt;CodeCoverage analyze /output:'c:\CoverageFiles\results.xml' 'c:\CoverageFiles\test.coverage'</code> </p>
  
  <p>the script is not throwing any error and xml file is also not generated. </p>
  
  <p>Is there any other way to generate the .xml file from .coverage file? Any help on this is appreciated. </p>