I am able to get code coverage on Windows Server 2003 using vsinstr and vsperfcmd for a project..
But for the same project, if a try the same code coverage on Windows Server 2008 R2 i am not able to get code coverage. In addition, when we check the status using "vsperfcmd /status" i cannot see the services/exe running for this Windows 2008 R2. In
contrast, on Windows 2003 , i am able to see the services/exe running in the "vsperfcmd /status" and also i get the code coverage.
Please tell me why this difference, why i am not able to get the code coverage on windows 2008.
If there is any difference, then how to get code coverage on Windows server 2008..
You need also to know that in order to collect code coverage settings, you need to have visual
studio Premium orVisual Studio Ultimate
installed in the machine with the build agent. If you got no code coverage during the build you should check the detailed log, that contains detailed reason and test run output.