How to open .coverage file

Robert_Junior picture Robert_Junior · Nov 8, 2013 · Viewed 18.6k times · Source

I have created a .coverage file using Vsperfmon.exe

I am currently using VS 2012 professional for web licensed edition. The .coverage result cannot be opened in VS Professional. After Googling I have come to know that VS Ultimate can open it

Rather than using VS Ultimate, is there any plugins for VS professional 2012 or any 3rd party solutions

Answer

jscott picture jscott · Dec 30, 2013

I've spent some time researching this today, as I'm in a similar situation; I have a .coverage file generated by TFS, and VS 2012 Pro, and I can't view the file. As far as I can tell, the answer is "You need VS Premium or Ultimate to view .coverage files."

I found https://github.com/danielpalme/ReportGenerator, which generates reports based on XML-formatted coverage files. It includes instructions for converting .coverage to XML (see https://github.com/danielpalme/ReportGenerator/wiki/Visual-Studio-Coverage-Tools), but that process depends on Microsoft.VisualStudio.Coverage.Analysis which isn't present in VS Pro.