Locked temp files
Here's an odd one: Whenever I make changes to a web form in between builds/compiles, the next build will fail with the message that:
"Could not copy temporary files to the output directory.
"The file 'bin\VAM3.dll' cannot be copied to the run directory. The process cannot access the file because it is being used by another process.
"The file 'bin\VAM3.pdb' cannot be copied to the run directory. The process cannot access the file because it is being used by another process."
It turns out that the "other process" that is holding the temp files (access denied to any other process) is aspnet_wp.exe. If I kill that process I can then do the build with no problems. But this requires that constantly kill aspnet_wp - a real pain in the ass.
Anybody know anything about this, or how to quit a session without aspnet_wp holding the temp files open? Thanks.
~Paul
|