The file is used by another process error when creating a solution in VIsual Studio

When you create a Windows Forms project in Visual Studio 2010, the following problem occurs:

69: "Failed to copy the file 'bin \ Debug \ MyApplication.exe. The process cannot access the file because it is being used by another process."

I can free and delete this file manually using the "Unlocker" application, and there I see that devenv.exe is blocking my application (Visual Studio itself). What are the possible causes of this and how can it overcome this problem.

+4
source share
2 answers

Yes, there is protein in VS 2010. There are several reasons. The workaround in this link fixed the problem for me for the first time.

But it happened again. Just do a Google search using your own title, you will find 5 different reasons.

+4
source

I uncheck Enable Visual Studio Hosting

in project properties -> debug tab

0
source

All Articles