Use "analyse" to generate XML and HTML reports

Is there a way to create both the XML *and* HTML reports when running the "analyse" command?

I tried it with the following config file, and it only produces the HTML report.


<Executable>C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\MSTest.exe</Executable>







I know this can be done in two other ways:
  • Running the analyse command twice
  • Running dotCover in three steps (cover, report to XML, report to HTML) and then deleting the snapshot file

I'm not going to use option 1 becuase this will take too long.

I'm most likely going to go with option 2 if there is no way to generate two reports with a single analyse command.

1 comment

Hello Jack,
It is not possible to generate two reports at once with the analyse command.
You're right, option 2 will fit your requirements in the best way.


Please sign in to leave a comment.