简体   繁体   English

DevOps 构建正在为不再存在的项目加载旧的 .dll 文件

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

Our DevOps build keeps failing on some unit tests.我们的 DevOps 构建在某些单元测试中一直失败。 Digging through the logs, it looks like there is an old .dll file for a Unit Test project the no longer exists.通过日志挖掘,看起来单元测试项目有一个旧的 .dll 文件不再存在。 All tests from this old project have been moved to other projects.这个旧项目的所有测试都已转移到其他项目。

在此处输入图片说明

the xxx.APITests project is the one that no longer exists. xxx.APITests 项目已不复存在。 But I don't know why or how the .dll for that project is still being loaded by DevOps.但我不知道 DevOps 为什么或如何加载该项目的 .dll。 How do I get rid of it?我该如何摆脱它?

EDIT:编辑:

We are using VSTS我们正在使用 VSTS

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.您似乎正在使用与 DevOps 一起工作的自托管构建代理,您可以在管道中检查您的构建使用的代理池和代理,然后登录代理运行的机器,删除 .dll 文件。

If your issue persists, share your pipeline definition.如果您的问题仍然存在,请分享您的管道定义。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法在Xamarin中建立一个旧项目 - Can no longer build an old project in Xamarin 如何在项目内部构建单个.cs文件并获取该文件的DLL? - How to build a single .cs file inside the project and get the DLL for that file? Unity 不再能够构建项目 - Unity no longer able to build project 为什么分支锁定用于复制.DLL文件的项目构建? - Why is branching is locking a project build for copying .DLL file? 如何在 C# 项目中构建具有自定义文件扩展名的 DLL? - How to build a DLL with custom file extension in a C# project? 类型存在于错误共享项目引用中,并在构建时为每个项目提供它自己的库的 DLL 构建 - Type exists in both error sharing project references and giving each project it's own DLL build of a library when building 项目中某处引用的旧EntityFramework DLL - Old EntityFramework DLL referenced somewhere in project 构建与控制台和 DLL 相同的项目 - Build same Project as Console and DLL 建立具有dll相对路径的项目 - Build a project with relative path to dll 我在WPF C#项目中工作,有很多dll文件,我想加载所有dll文件并加载首页吗? - I'm work in WPF C# project have many dll file, and i want load all dll file with loading home page?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM