开发者

The file is being used by another process error when building solution in VIsual Studio

When building a Windows Forms project in Visual Studio 2010 I have a following problem occurs:

69: "Unable to copy file "bin\Debug\My开发者_StackOverflowApplication.exe". The process cannot access the file because it is being used by another process."

I can release and remove this file manually using "Unlocker" application and there I can see that a devenv.exe blocks my application (The Visual Studio itself). What are the possible reasons for this and how it can I overcome this problem.


Yeah, there is a squirrel loose in VS 2010 on this one. There are multiple causes. The workaround in this link fixed the problem for me the first time.

But it happened again. Just search in Google using your own post title, you will find like 5 different causes.


I unchecked the Enable the Visual Studio hosting process

in Project properties -> Debug tab

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜