I'm using the Team Foundation Get action to grab the latest version of a folder. My issue is that it sometimes gives me the error 'the process cannot access the file because it is being used by another process'. It seems to get all of the files fine but then throws this error once or twice. I can't tell from the log which file it is, so I'm trying to reproduce it with just using tf.exe manually to see if its a TFS/machine issue or a finalbuilder issue.
So far when I use tf.exe I don't get any issue. Can you help me figure out exactly what finalbuilder is doing with tf.exe so I can reproduce it in the command line?
Here's the start of my TF get action log:
Path to Executable: c:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\tf.exe
Workspace Directory: C:\X\Y\Z
Command line: get . /all /overwrite /recursive /noprompt
The process cannot access the file because it is being used by another process
The workspace directory is correct. I'm not sure how this is being set in finalbuilder, normally with TFS I'd just run:
tf.exe get X\Y\Z /all /overwrite /recursive /noprompt
This works every time. Anyway, I'm just trying to figure out if this is an issue with Finalbuilder, or TF.exe/my machine etc to narrow down the cause. Any insight would be appreciated.
Additionally, I've tried rebooting the machine and immediately running FB in case there was some running program etc. with any of the source files open (although there shouldn't be) and I still received the error.