Team Build fails while copying test results to drop directory
Posted on 2009-05-14
We're developing an automated Team Build in Visual Studio 2008. All the code compiles and all the tests run successfully - but the overall build fails at the very end with this error message:
"The drop share directory <whatever> could not be accessed"
This is basically because MSBuild wants to copy the test results to the drop share directory, which it's just created, but doesn't seem to have permissions to! Since we're not willing to put the drop folder on the TFS server machine (which seems to be the general advice for this problem), we need to disable this final step, the publishing of test results to the drop folder. We had a workaround in place in our TFSBuild.proj file when we ran it in Visual Studio 2005, but apparently MSBUILD has changed significantly in VS2008, and this workaround no longer works. The question is: what entries do I need to add to TFSBuild.proj to bypass the step of copying test results to the drop folder so that the build succeeds?