I also have another idea.
Is the project/app stored locally or on a network. If it's on a network, could it be that the network is 'lying' to you about the file being in use? What kind of error do you get if you try to delete the .app?
HTH
Matt McDonnell
...building a better mousetrap with moldy cheese...