获取错误“System.IO.IOException:进程无法访问文件'..\build\TestResults\Out\System.Web.Mvc.dll',因为它正由另一个进程使用。 [英] Getting error "System.IO.IOException: The process cannot access the file '..\build\TestResults\Out\System.Web.Mvc.dll' because it is being used by another process.

查看:82
本文介绍了获取错误“System.IO.IOException:进程无法访问文件'..\build\TestResults\Out\System.Web.Mvc.dll',因为它正由另一个进程使用。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Jenkins建设时,我们最常收到以下错误:

While building in Jenkins we are getting the below error most frequently:

" System.IO.IOException:进程无法访问文件'..\build\TestResults\Out\System.Web.Mvc.dll',因为它正由另一个进程使用。

"System.IO.IOException: The process cannot access the file '..\build\TestResults\Out\System.Web.Mvc.dll' because it is being used by another process.

在proj文件中,它会在下面突出显示的行中抛出错误:

In proj file it is throwing the error in below highlighted line:

谢谢!

推荐答案

嗨Irfspy,

Hi Irfspy,

感谢您在此处发布。

在本地计算机上使用Visual Studio或MSBuild命令行构建项目时的结果如何?根据错误日志,我们很难确定它是否与Jenkins,服务器环境,项目本身
或其他相关。那么您是否可以尝试在本地计算机上使用Visual Studio或MSBuild命令行构建项目,如果仍然出现错误,请将错误日志分享给我们?这将有助于我们缩小这一问题。

How about the result when you build your project with Visual Studio or MSBuild Command line on you local machine? According the error log, it is hard for us to make sure that whether it is related to the Jenkins, server environment, the project itself or others. So could you have try to build the project with Visual Studio or MSBuild command line on you local machine, If you still get error, could you please share us the error log to us? That will help us to narrow down this issue.


这篇关于获取错误“System.IO.IOException:进程无法访问文件'..\build\TestResults\Out\System.Web.Mvc.dll',因为它正由另一个进程使用。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆