VS 2005 IDE /编译bug [英] VS 2005 IDE/Compile bug

查看:61
本文介绍了VS 2005 IDE /编译bug的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我每次编译解决方案时都会出现以下错误:

VS 2005:


----------- -----

错误5


无法复制文件obj\Debug\xyz.dll到bin \Debug\xyz.dll。过程

无法访问文件''bin \Debug \ xyz.dll'',因为

另一个进程正在使用它。

----------------

为了摆脱这个问题,我必须不断关闭并重启

VS 2005.还有其他人遇到同样的问题吗?


谢谢。

I keep getting the following error every time I compile the solution under
VS 2005:

----------------
Error 5

Unable to copy file "obj\Debug\xyz.dll" to "bin\Debug\xyz.dll". The process
cannot access the file ''bin\Debug\xyz.dll'' because it is being used by
another process.
----------------
In order to get rid of this problem, I have to constantly close and restart
VS 2005. Is anybody else getting the same problem?

Thanks.

推荐答案

你是得到这个错误是因为它说的...... dll正在使用

由另一个应用程序。确保你关闭了你编译并运行的应用程序,并确保该文件仍然没有被b $ b访问。你还可以包括你可以访问的dll文件的真实名称吗?我猜它不是真的xyz.dll ......这可能对我们有所帮助

找出可能使用dll的进程...


Chris


-

保护你的系统就像对抗疾病一样 - 只要你保持基本卫生,你可能会没事,但你永远不会/>
无懈可击。


Steve Shah - Unix系统网络管理员

" Rene" <无**** @ nospam.com>写在消息

新闻:OH ************** @ TK2MSFTNGP14.phx.gbl ...
You''re getting this error because of just what it says...the dll is in use
by another application. Make sure that you are closing the application that
you''ve compiled and run last to make sure that the file isn''t still being
accessed. Could you also please include the real name of the dll file that
you''re access...I''m guessing it''s not really xyz.dll...that might help us
figure out what processes might be using the dll...

Chris

--
Securing your systems is much like fighting off disease -- as long as you
maintain basic hygiene, you''re likely to be okay, but you''ll never be
invulnerable.

Steve Shah - Unix Systems Network Administrator
"Rene" <no****@nospam.com> wrote in message
news:OH**************@TK2MSFTNGP14.phx.gbl...
我一直得到以下每次我在VS 2005下编译解决方案时出错:

----------------
错误5

无法复制文件obj\Debug\xyz.dll到bin \Debug\xyz.dll。
进程无法访问文件''bin \Debug \ xyz.dll'',因为它被另一个进程使用。
---------- ------

为了摆脱这个问题,我必须不断关闭并重新启动VS 2005.还有其他人遇到同样的问题吗?
<谢谢。
I keep getting the following error every time I compile the solution under
VS 2005:

----------------
Error 5

Unable to copy file "obj\Debug\xyz.dll" to "bin\Debug\xyz.dll". The
process cannot access the file ''bin\Debug\xyz.dll'' because it is being
used by another process.
----------------
In order to get rid of this problem, I have to constantly close and
restart VS 2005. Is anybody else getting the same problem?

Thanks.



我确信我正在完全关闭应用程序。它是Visual

Studio IDE本身没有发布文件的内容。这是显而易见的,因为当我关闭VS 2005并再次重新开启时,

的东西恢复正常。


我已经在这个项目上工作了大约2年在我开始使用VS 2005之前,使用VS 2003和

从来没有遇到过这个问题。


我可以看到我的停止调试工具栏按钮(Shift + F5)被禁用为

指示没有任何内容正在运行,但我继续收到此错误。也许

VS 2005 IDE中还有一些其他进程在我停止调试后继续保持

文件,但我不知道那个进程是什么。 />

文件名不是xyz但也不是系统或VS特定文件,是我自己的一个b $ b。我甚至删除了这个文件,希望VS能够重新创建文件并快速解决问题,但最终会再次显示错误

消息。


" Chris Springer" < CS ***** @ adelphia.net>在消息中写道

新闻:IP ******************** @ adelphia.com ...
I am sure that I am closing the application completely. It is the Visual
Studio IDE itself what is not releasing the file. This is evident because
things go back to normal when I close VS 2005 and reopen it again.

I have been working on this project for around 2 years using VS 2003 and
never had this problem happened until I started using VS 2005.

I can see my "Stop Debugging" Toolbar button (Shift + F5) disabled as an
indication that nothing is running but I continue to get this error. Perhaps
there is some other process in the VS 2005 IDE that keeps holding on to the
file after I stop debugging but I have no idea what is that process.

The file name is not "xyz" but is also not a system or VS specific file, is
one of my own. I have even deleted this file hoping that VS would recreate
the file and snap out of the problem but eventually it display the error
message again.

"Chris Springer" <cs*****@adelphia.net> wrote in message
news:IP********************@adelphia.com...
你因为它所说的...... dll正在被另一个应用程序使用
而得到这个错误。确保您关闭了您编译并运行的应用程序,以确保该文件仍未被访问。你能不能包括你可以访问的dll
文件的真实姓名...我猜它不是真的xyz.dll ......那可能对我们有所帮助找出可能使用dll的进程...

Chris

-
保护你的系统就像对抗疾病一样 - 只要你
保持基本卫生,你可能会好起来,但你永远不会无懈可击。

Steve Shah - Unix系统网络管理员
;雷" <无**** @ nospam.com>在消息中写道
新闻:OH ************** @ TK2MSFTNGP14.phx.gbl ...
You''re getting this error because of just what it says...the dll is in use
by another application. Make sure that you are closing the application
that you''ve compiled and run last to make sure that the file isn''t still
being accessed. Could you also please include the real name of the dll
file that you''re access...I''m guessing it''s not really xyz.dll...that
might help us figure out what processes might be using the dll...

Chris

--
Securing your systems is much like fighting off disease -- as long as you
maintain basic hygiene, you''re likely to be okay, but you''ll never be
invulnerable.

Steve Shah - Unix Systems Network Administrator
"Rene" <no****@nospam.com> wrote in message
news:OH**************@TK2MSFTNGP14.phx.gbl...
每次我都会收到以下错误编译VS 2005下的解决方案:

----------------
错误5

无法复制文件obj\Debug\xyz.dll到bin \Debug\xyz.dll。
进程无法访问文件''bin \Debug \ xyz.dll'',因为它被另一个进程使用。
---------- ------

为了摆脱这个问题,我必须不断关闭并重新启动VS 2005.还有其他人遇到同样的问题吗?
<谢谢。
I keep getting the following error every time I compile the solution under
VS 2005:

----------------
Error 5

Unable to copy file "obj\Debug\xyz.dll" to "bin\Debug\xyz.dll". The
process cannot access the file ''bin\Debug\xyz.dll'' because it is being
used by another process.
----------------
In order to get rid of this problem, I have to constantly close and
restart VS 2005. Is anybody else getting the same problem?

Thanks.




Rene写道:
我肯定我正在完全关闭应用程序。 Visual
Studio IDE本身没有发布文件。这是显而易见的,因为当我关闭VS 2005并再次重新打开它时,事情会恢复正常。

我使用VS 2003和
在这个项目上工作了大约2年直到我开始使用VS 2005才发生这个问题。

我可以看到我的停止调试工具栏按钮(Shift + F5)被禁用,表示没有任何内容正在运行但我仍然收到此错误。也许
VS 2005 IDE中有一些其他进程在我停止调试后仍然保持
文件,但我不知道那个进程是什么。

文件名称不是xyz但也不是系统或VS特定文件,是我自己的一个。我甚至删除了这个文件,希望VS能够重新创建文件并快速解决问题,但最终会再次显示错误
消息。

Chris Springer < CS ***** @ adelphia.net>在消息中写道
新闻:IP ******************** @ adelphia.com ...
I am sure that I am closing the application completely. It is the Visual
Studio IDE itself what is not releasing the file. This is evident because
things go back to normal when I close VS 2005 and reopen it again.

I have been working on this project for around 2 years using VS 2003 and
never had this problem happened until I started using VS 2005.

I can see my "Stop Debugging" Toolbar button (Shift + F5) disabled as an
indication that nothing is running but I continue to get this error. Perhaps
there is some other process in the VS 2005 IDE that keeps holding on to the
file after I stop debugging but I have no idea what is that process.

The file name is not "xyz" but is also not a system or VS specific file, is
one of my own. I have even deleted this file hoping that VS would recreate
the file and snap out of the problem but eventually it display the error
message again.

"Chris Springer" <cs*****@adelphia.net> wrote in message
news:IP********************@adelphia.com...
你得到了这个错误是因为它说的...... dll正在被另一个应用程序使用
。确保您关闭了您编译并运行的应用程序,以确保该文件仍未被访问。你能不能包括你可以访问的dll
文件的真实姓名...我猜它不是真的xyz.dll ......那可能对我们有所帮助找出可能使用dll的进程...

Chris

-
保护你的系统就像对抗疾病一样 - 只要你
保持基本卫生,你可能会好起来,但你永远不会无懈可击。

Steve Shah - Unix系统网络管理员
;雷" <无**** @ nospam.com>在消息中写道
新闻:OH ************** @ TK2MSFTNGP14.phx.gbl ...
You''re getting this error because of just what it says...the dll is in use
by another application. Make sure that you are closing the application
that you''ve compiled and run last to make sure that the file isn''t still
being accessed. Could you also please include the real name of the dll
file that you''re access...I''m guessing it''s not really xyz.dll...that
might help us figure out what processes might be using the dll...

Chris

--
Securing your systems is much like fighting off disease -- as long as you
maintain basic hygiene, you''re likely to be okay, but you''ll never be
invulnerable.

Steve Shah - Unix Systems Network Administrator
"Rene" <no****@nospam.com> wrote in message
news:OH**************@TK2MSFTNGP14.phx.gbl...
每次我都会收到以下错误编译VS 2005下的解决方案:

----------------
错误5

无法复制文件obj\Debug\xyz.dll到bin \Debug\xyz.dll。
进程无法访问文件''bin \Debug \ xyz.dll'',因为它被另一个进程使用。
---------- ------

为了摆脱这个问题,我必须不断关闭并重新启动VS 2005.还有其他人遇到同样的问题吗?
<谢谢。
I keep getting the following error every time I compile the solution under
VS 2005:

----------------
Error 5

Unable to copy file "obj\Debug\xyz.dll" to "bin\Debug\xyz.dll". The
process cannot access the file ''bin\Debug\xyz.dll'' because it is being
used by another process.
----------------
In order to get rid of this problem, I have to constantly close and
restart VS 2005. Is anybody else getting the same problem?

Thanks.




我有时在VS 2003上遇到同样的问题。必须重启VS.

不确定这是VS或OS问题......



I sometimes have the same problem on VS 2003. Have to restart VS.
Not sure if that''s VS or OS issue...


这篇关于VS 2005 IDE /编译bug的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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