Very strange.... Is it the IDE that has the file locked? Can you delete
the file after unlocking by either using the unlocker's delete function or
from the Explorer? If you can successfully delete the file outside of the
VS IDE can you then compile successfully?
There might be a bug like this logged for VS2005 already, but I am not
sure...
"MAF" <mf*****@henwoodenergy.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Even after I unlock the dll using the unlocker, I still cannot compile.
The only way I have found that will fix this is to leave the IDE and
Restart the IDE.
"Gabriel Magaña" <no*****@no-spam.com> wrote in message
news:ew*************@TK2MSFTNGP09.phx.gbl... You have to find out who has the DLL locked in order to start to
troubleshoot the problem. Try Unlocker or a similar utility
(http://ccollomb.free.fr/unlocker/).
"MAF" <mf*****@henwoodenergy.com> wrote in message
news:eD**************@TK2MSFTNGP09.phx.gbl... No.
"John Murray" <jm*****@pluck.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
Do you have multiple copies of vstudio open with a reference to this
file?
MAF wrote:
> Does anyone know why in 2005 I might be getting this error everytime I
> try and recompile?
>
> Error 226 Unable to copy file "obj\Debug\myfile.dll" to
> "bin\Debug\myfile.dll". The process cannot access the file
> 'bin\Debug\myfile.dll' because it is being used by another process.
> myfile
>