Search code examples
c#visual-studio-2017devopstfsbuild

DevOps build is loading an old .dll file for a project that no longer exists


Our DevOps build keeps failing on some unit tests. Digging through the logs, it looks like there is an old .dll file for a Unit Test project the no longer exists. All tests from this old project have been moved to other projects.

enter image description here

the xxx.APITests project is the one that no longer exists. But I don't know why or how the .dll for that project is still being loaded by DevOps. How do I get rid of it?

EDIT:

We are using VSTS


Solution

  • It seems you are using Self-hosted build agent working with DevOps, you can check the agent pool and agent your build using in the pipeline, and login the machine where the agent runs, delete the .dll files.

    If your issue persists, share your pipeline definition.