I have a FB project that builds fine in the IDE but when I attempt it in TFS 2008 it hangs (forever) and when I check the log file after cancelling the build it gets as far as finishing the action group 'Apply Version / Package Source', the last task is a ZIP action, and then the log ends, it doesn't move on after that, doesn't even attempt to process the next action group, no errors or anything, just sits there running on the build server.
I've spent 2 days looking at this now and I'm pulling my hair out, I've attached the FB project, hope someone can help!
UPDATE: I’ve just run FBCMD from a command line on the server and the task that runs after ‘Apply Version / Package Source’ updates VS deployment projects, it turns out the VDPROJ files are screwed and it throws up a VS message box…
I’ll update once I’ve rectified this to see if that sorts it.
Ok, I've managed to get the VDPROJ issues sorted but now when I run FBCMD from the command line it runs the entire build, then runs some tests, confirms it's finished but then doesn't close the program, it just sits there...is that normal??
Another update, I’ve found the cause, but not the solution. The build has lots of Windows Installer - Run Msi tasks, these all remotely install MSIs on another machine. If I disable these the build finishes fine, if I enable them it fails to release itself, and it would appear that the WMI calls are causing disconnect issues.
I’m not sure where to go with this, could it be a WMI configuration issue?
I finally found out what the problem was, it would appear that the unit tests were causing it as when I disabled them it worked fine. Looking at the network connections it seems that one or more of the tests might not be closing a connection to a server/database.
I'm surprised this causes FBCMD to hang but it does appear to be the case, when I've finally tracked it down I will post my response, as this has taken a long time to investigate.
If any exe FBCMD is running puts up a dialog waiting for input then FBCMD will hang waiting for that task to complete. As for network connections… no idea why that would occur.