VS Build Error "Unable to copy file..."

Hi,

I have an issue with my Visual Studio wich seems to be caused by Resharper.
Before I post a bugreport I just want to know if other users have this problem too.

Sometimes I get a build error.

Error  14    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.


A workmate had the same issues when he tested Resharper and the problem newer raised agein since he uninstalled Resharper.

Best regards,
Sven.

3 comments

Could it possibly be antivirus software or a search indexer locking the
file? The reason I ask is that I experienced that problem a few years ago
and found it was the antivirus software scanning the file immediately after
it was built.

"Sven Heitmann" <no_reply@jetbrains.com> wrote in message
news:25937032.127081246617246621.JavaMail.clearspace@app8.labs.intellij.net...

Hi,

>

I have an issue with my Visual Studio wich seems to be caused by
Resharper.
Before I post a bugreport I just want to know if other users have this
problem too.

>

Sometimes I get a build error.

Error 14 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.

>

A workmate had the same issues when he tested Resharper and the problem
newer raised agein since he uninstalled Resharper.

>

Best regards,
Sven.

>

---
Original message URL:
http://www.jetbrains.net/devnet/message/5241205#5241205


0

Hi Greg.

Could it possibly be antivirus software or a search indexer locking the
file? The reason I ask is that I experienced that problem a few years ago
and found it was the antivirus software scanning the file immediately after
it was built.


I will give it a try.

However when the error happened again I used process explorer to search for the filehandle.
The result was devenv.exe...

Best regards,
Sven.

0

I've experienced a similar problem, and also found only devenv.exe when doing a procexp search on that handle.

0

Please sign in to leave a comment.