将项目dll构建到另一个目录后出现错误如何修复?

发布于 2024-09-30 22:36:58 字数 413 浏览 2 评论 0原文

将项目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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

街角迷惘 2024-10-07 22:36:58

此错误通常意味着该文件无法访问。
这通常是由于没有权限写入该目录,或者文件被锁定。

如果您的应用程序的现有副本正在运行,并且该 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文