J
Jason Ratke
Hi,
I am currently working on a diagnostic utility for developers, and some of
the things I want to check are whether a dll in a project output folder is
locked and cannot be over-written, or if an incorret version of a dll has
been cached in the temporary internet files folder.
A friend said that I could possibly open a file stream on a dll, and attempt
to lock it, and if it failed, it would give info on which process currently
had it locked, which might solve the first requirement - does anyone else
have any ideas or suggestions on this?
As for checking for cached dlls, I was thinking that I could maybe use
reflection on the dlls in the temp inet folder to check for inconsistent dll
versions, but I'm not sure if this is the best approach, or would even
work - suggestions?
Thanks,
Jason
I am currently working on a diagnostic utility for developers, and some of
the things I want to check are whether a dll in a project output folder is
locked and cannot be over-written, or if an incorret version of a dll has
been cached in the temporary internet files folder.
A friend said that I could possibly open a file stream on a dll, and attempt
to lock it, and if it failed, it would give info on which process currently
had it locked, which might solve the first requirement - does anyone else
have any ideas or suggestions on this?
As for checking for cached dlls, I was thinking that I could maybe use
reflection on the dlls in the temp inet folder to check for inconsistent dll
versions, but I'm not sure if this is the best approach, or would even
work - suggestions?
Thanks,
Jason