Brezhnews
Brezhnews

Reputation: 1569

Can't build successfully project in VS2010

I can't build successfully project in VS2010 it shows me error:

"Error 579 Unable to copy file "obj\Debug\DT.Eagle.Zones.dll" to "bin\Debug\DT.Eagle.Zones.dll". The process cannot access the file 'bin\Debug\DT.Eagle.Zones.dll' because it is being used by another process."

When I close Visual Studio and open it again and try to build the project, it build successfully, but after I edit the code and try to build the project it shows me the same error. Then I have to close VS after every time I edit the code to build the project successfully.

Any idea how to fix this thing?

Upvotes: 0

Views: 678

Answers (1)

Mayank
Mayank

Reputation: 8852

looks like when you restart Visual Studio and rebuild the project, some process starts which is accessing bin\Debug\DT.Eagle.Zones.dll that's why system cannot overwrite existing file as its locked by another process.

Upvotes: 3

Related Questions