Question

Can anybody help with this error in the log of my Team Build 2010 build? It only seems to occur when I have two build agents running on the same machine at the same time.

Run has the following issue(s):

Code coverage in-place instrumentation:

Cannot fully backup the binary 'C:\Builds\3\MyProject\Binaries\MyProject.UserManager.DataModel.dll'.

Cannot find the back up file, created by instrumentation utility: 'C:\Builds\3\MyProject\Binaries\MyProject.UserManager.DataModel.dll.orig'.

Was it helpful?

Solution

For coverage, if you use in place, mstest will create backup location with the uninstumented dll's in them. these will be removed after execution. so:

  1. It might be that your first build is removing them of the second. Given your build path looks like: C:\Builds\3\MyProject, it means the agents (number 3 is the agent number) use seperated directories (default, but not always the case).
  2. You had issues with pdb settings and or coverage settings, so no instrumented dll's where created: Visual Studio 2010 Code Coverage - Cannot find the back up file, created by instrumentation utility

Given you aren't seeing it anymore, 2 is most likely.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top