无法复制程序集'Microsoft.Practices.EnterpriseLibrary.Data.dll [英] Cannot copy assembly 'Microsoft.Practices.EnterpriseLibrary.Data.dll

查看:98
本文介绍了无法复制程序集'Microsoft.Practices.EnterpriseLibrary.Data.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

构建解决方案时,出现错误信息

When I built my solution I am getting belowed error

Error    19    Cannot copy assembly ''Microsoft.Practices.EnterpriseLibrary.Data.dll'' to file ''F:\KISAN\KisanCom18-1-11\trunk\src\ekisan\bin\Microsoft.Practices.EnterpriseLibrary.Data.dll''.  Unable to add ''F:\KisanCom\VSS_3\output\Libraries\DBOperationsLibrary\Microsoft.Practices.EnterpriseLibrary.Data.dll'' to the Web site.  Unable to add file ''bin\Microsoft.Practices.EnterpriseLibrary.Data.dll''.  The process cannot access the file because it is being used by another process.
    F:\...\ekisan\







Error    20    Cannot copy assembly ''Microsoft.Practices.EnterpriseLibrary.Common.dll'' to file ''F:\KISAN\KisanCom18-1-11\trunk\src\ekisan\bin\Microsoft.Practices.EnterpriseLibrary.Common.dll''.  Unable to add ''F:\KisanCom\VSS_3\output\Libraries\DBOperationsLibrary\Microsoft.Practices.EnterpriseLibrary.Common.dll'' to the Web site.  Unable to add file ''bin\Microsoft.Practices.EnterpriseLibrary.Common.dll''.  The process cannot access the file because it is being used by another process.
    F:\...\ekisan\




请帮助我.........:(((




Please Help me ......... :((

推荐答案

我认为错误消息足够清楚.
''该进程无法访问该文件,因为该文件正在被另一个进程使用''

而且,如果您根本不了解,请重新启动计算机即可解决该问题.

(PS:我有点讨厌自己提供这种解决方案:()
I think the error message is clear enough.
''The process cannot access the file because it is being used by another process''

And if you do not understand at all, restarting your machine will resolve it.

(P.S. :I kinda hated myself giving this solution :( )


在运行项目时请注意任务管理器.某些进程必须使用dll.只需结束进程"即可.或如果某个使用您的.dll的服务停止了该服务然后再移动它.
Keep eye on the task manager when you are running the project. Some process must be using the dll. Simply "End Process" that or if some service using your .dll stop the service and then move.


SysInternals具有所有可用于解决所有问题的工具:

1)转到SysInternals网站: SysInternals .
2)下载SysInternals套件: http://download.sysinternals.com/Files/SysinternalsSuite.zip [ ^ ];您还可以下载单独的应用程序,但是还有更多有用的信息,请阅读实用程序索引: http://technet.microsoft. com/en-us/sysinternals/bb545027 [ ^ ].
3)找到并使用以下实用程序:AccessChk,句柄(哪些文件由哪些进程使用),ListDLL(所有已加载模块的完整列表),Process Explorer(有关每个进程的所有内容),PsKill(杀死进程或进程树比Microsoft Task Manager更强大,也可以在Process Explorer中作为操作使用).

祝你好运,
—SA
SysInternals has all the tools to sort all that out:

1) Go to SysInternals site: SysInternals.
2) Download SysInternals Suit: http://download.sysinternals.com/Files/SysinternalsSuite.zip[^]; you can also download separate applications, but there are more useful things, read utilities Index: http://technet.microsoft.com/en-us/sysinternals/bb545027[^].
3) Locate and use the following utilities: AccessChk, Handle (which files are used by which processes), ListDLLs (full list of all loaded modules), Process Explorer (everything about every process), PsKill (a way to kill a process or process tree more powerful than Microsoft Task Manager, also available as an operation in Process Explorer).

Good luck,
—SA


这篇关于无法复制程序集'Microsoft.Practices.EnterpriseLibrary.Data.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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