TFS CI Build runs each test block twice

We have a TFS server with CI setup. For some reason, CI runs each block of tests twice. Anyone got a hint please please?

+3


source to share


2 answers


This behavior can occur in the following combination:



  • The test project is referenced by another project in the solution and
  • MsBuild is instructed to create a folder for each project, i.e. the MsBuild switch is used /p:GenerateProjectSpecificOutputFolder=true

+6


source


Check your assembly definition. Check your test sources here for process details. I would bet that two of your filters resolve the same .dll causing this issue.



+2


source







All Articles