开发者

Code coverage in-place instrumentation: Cannot fully backup the binary error

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 开发者_如何学JAVAthe 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'.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜