Build randomly fails to find project files

I am doing builds of a visual studio solution. After a few builds they will start failing because msbuild cannot find the project files.

It will continue to fail until I force a full checkout from subversion. It appears the local cache is getting corrupted. How do I address this?

0
1 comment

Hi David,

 

that shouldn't be the local cache, but the local copy, as the build agents pull the information to run the builds. I'd recommend checking the agent's work folder after builds, checking whether the folder has been corrupted or cleaned. It would also be useful checking the build logs of a build where it started failing and the previous one and trying to identify whether any of the build parts actually removed the files.

0

Please sign in to leave a comment.