PostBuild events not running on TFS Team Build
I have been struggling today with a problem that a PostBuild event on a C# project works fine on my development PC but failed on a Team Build box. The project is based on the Codeplex SharePoint Visual Studio Project Template that uses post build scripts to create a deployment WSP. It turns out the problem was an unwanted condition on the PostBuildEvent in the projects .csproj file. It was like this: ...