Dear Grant, Hi and thanks for taking a moment. I am still having issues with this error (MSB3231: Unable to remove directory)during Team Build. It cannot remove the Sources directory because it is not empty. Indeed the CoreClean target seems to leave files and subdirectories underneath Sources. I have made there is no explorer window open on the build server or anything like that.
In response to your questions, we do have BMC Patrol installed on the Build Server. Also on the "AfterCompile" target we are shelling out to DevEnv to build a BizTalk Solution (TFS 2005). If the Clean and the shell out are happening on two different targets, these should not interfere with each other should they? I ran Process Monitor on our Build Server and it looks like the MSBuild.exe queries the Sources directory and there is a "NO MORE FILES" listed as a result. Jason Livengood 440-546-6651 (Desk) 216-956-9280 (BlackBerry) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Holliday Sent: Thursday, June 19, 2008 5:16 PM To: [email protected] Subject: RE: [OzTFS] CI build failing on CoreClean Task Do you have virus scanning enabled on the build box? Are you shelling out to any extra build tools that may still have a file handle on the folder? Regards, Grant Holliday -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Woodward Sent: Thursday, June 19, 2008 1:28 PM To: [email protected] Subject: RE: [OzTFS] CI build failing on CoreClean Task Don't suppose anyone could have a windows explorer window open in the build working directory at the time could they? I've seen this error happen when doing a build and I have left an explorer window open in that working directory. The error causes explorer to close that folder and therefore it is available next time. Good luck, Martin. Martin Woodward. Senior Software Engineer, Microsoft MVP (Team System). Teamprise, a division of SourceGear LLC. US Phone: +1 217-531-7854 UK Phone: +44 (0)2894 335006 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Livengood, Jason (ProSource Sol.) Sent: 19 June 2008 19:33 To: [email protected] Subject: [OzTFS] CI build failing on CoreClean Task Hi and thanks for taking a moment. I have an issue with my CI builds in TFS 2005 where it is periodically failing on the CoreClean task. It tries to remove the Sources directory and complains that it cannot remove this because it is not empty.(Sources is not getting cleaned) What's puzzling is the next build may clean the directory fine and the build will work. It could also take any number of attempts in order to get this task to work correctly and the build to succeed. There really doesn't seem to be any particular pattern that I can see currently as to when it chooses to fail I have seen this type of error also when leaving an old build log open. (TFS will say it is currently in use and it cannot remove it). I also do get one warning about the length of my workspace being too long, so it truncates the name of it in the InitializeWorkspaceTarget. If anybody has any troubleshooting advice or suggestions it would be greatly appreciated. Jason ------------------------------------------------------------------------ ---- --------------- ***National City made the following annotations ------------------------------------------------------------------------ ---- --------------- This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication. ======================================================================== ==== =============== OzTFS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. View the web archives at http://www.mail-archive.com/[email protected]/ Powered by mailenable.com, supported by www.readify.net OzTFS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. View the web archives at http://www.mail-archive.com/[email protected]/ Powered by mailenable.com, supported by www.readify.net OzTFS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. View the web archives at http://www.mail-archive.com/[email protected]/ Powered by mailenable.com, supported by www.readify.net OzTFS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. View the web archives at http://www.mail-archive.com/[email protected]/ Powered by mailenable.com, supported by www.readify.net
