We have our own build server that uses MsBuild to execute VS2010 solutions and projects. For this, we have different targets in MSBuild and I wanted to create targets that gather code coverage while unit and integration tests are executed. Something like this:
1) Build solution
2) Start code coverage of all assemblies
3) Run unit tests
4) Start environmental systems, run integration tests, shutdown environment systems
5) Stop code coverage
For this I wanted to use the tools VSInstr and VSPerfMon which seem to work fine. But on our build server, builds can run in parallel, meaning that another build can be built at the same time. Is it correct that VSPerfMon can only be started once concurrently on a server?
I did not find any way to specify the name of the NamedPipe? Is there some way to do this, or do we have to manually create a semaphore that assures that there is only a single process that works from 2) until 5) on our build server?
I hope this is the correct forum, I did not find any forum about VS2010 in general, and coverage and profiling is quite near the theme of debugging?
- 已编辑 FromBasel 2012年2月24日 9:26 Change typo in Title
- 已移动 Jack Zhai - MSFTMicrosoft Contingent Staff, Moderator 2012年2月27日 4:02 (From:Visual Studio Debugger)
I am not sure I understand this completely. Are you saying that you want use a server computer to control other client computers, and hope that all the client computers can run the single process like the VSPerfMon for parallel builds?
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us