There was a bug that would sometimes lock assemblies. The suspected cause
was assembly size. While i don't know if it was ever proven, when i had the
problem breaking the offending assembly up into 3 pieces (some code
remaining in itself, other pieces being split into other assemblies, it
forced me to modularlize abit more).
It also could have had to do with intellisense or the toolbox(i really don't
remember).
Also, as i recall but don't have any records to be sure, this bug was not
able to be fixed by vs.net 2003 rtm.
Some people ended up switching to a build system using nant, others split up
offending assemblies until they stopped causing trouble,
"Pankaj" <pa******@hotmail.com> wrote in message
news:eH*************@TK2MSFTNGP09.phx.gbl...
Hi Fergus:
Yeah I understand that the dll is being used by other process.. but how do
you find out which process...?
Task Manager doesn't hint a thing about that
I tried to use ListDLLS from sysinternals.com but that doesn't help too ?
What do you use to figure it out ?
I have heard from more than one people...that VS.NET is sometimes using
this...file.
In this post also people have pointed that out.
I wonder like James did ..is this a Bug in VS.NET ?
-Pankaj
"Fergus Cooney" <wo****@tesco.net> wrote in message
news:uD**************@tk2msftngp13.phx.gbl... Hi Panjak,
I've had the same error. In all cases, for me, it was due to a
process remaining in memory when all visual indications (ie forms, tray icons,
etc) had gone. Sometimes my form would terminate but the process remain.
Sometimes it would be a component that was still running free. Depends
what I'm developing at the time.
Make friends with Task Manager. If your problem's cause is the same,
TM's got a great Kill switch!! :-)
Regards,
Fergus