将项目dll构建到另一个目录后出现错误如何修复?
将项目dll构建到另一个目录后出现错误如何修复?
Error 39 Unable to copy file access is denied
例如:
Error 1 Unable to copy file "obj\Debug\fAppCreditService.dll" to "..\..\..\..\..\2005\2005.Application\bin\fAppCreditService.dll".
该进程无法访问文件“.........\2005\2005.Application\bin\fAppCreditService.dll”,因为该文件正在被另一个进程使用。 fAppCreditService
我使用 XP 视觉工作室2005
How to Fix The Error When There Is An Error After Building The Project Dlls to Another Directory?
Error 39 Unable to copy file access is denied
For Example:
Error 1 Unable to copy file "obj\Debug\fAppCreditService.dll" to "..\..\..\..\..\2005\2005.Application\bin\fAppCreditService.dll".
The process cannot access the file '..........\2005\2005.Application\bin\fAppCreditService.dll' because it is being used by another process. fAppCreditService
I use XP
Visual Studio 2005
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
此错误通常意味着该文件无法访问。
这通常是由于没有权限写入该目录,或者文件被锁定。
如果您的应用程序的现有副本正在运行,并且该 dll 正在被您的应用程序使用,则该文件将被锁定。关闭应用程序的所有正在运行的副本并重新构建解决方案。
如果您的应用程序未运行,请确保您对尝试输出到的目录具有写入权限。
This error usually means that the file is inaccessible.
It is usually due to not having permissions to write to that directory, or the file being locked.
The file will be locked if an existing copy of your application is running, and the dll is in use by your application. Close any running copies of the application and re-build the solution.
If your application is not running, make sure that you have write permissions to the directory you are trying to output to.