How to call a custom target after building each individual solution (sln) in Team Build?

  Issue: – I would like to invoke a specific target just after each solution is compiled. Unfortunately, team build performs a build including all solution in an atomic MSBuild call. I don’t want to make changes in my sln or csproj files but I am OK with modifying the tfsbuild.proj. What can I do…

8

Different behavior of StopOnFirstFailure flag with respect to slns and xxprojs in Team Build

  Issue – StopOnFirstFailure flag is respected when we are building multiple solutions and find the error in 1st solution and stop building the rest of solutions. However when we have a scenario where a solution contains multiple projects (csproj’s) and 1st project has error, the build continues to build the remaining projects and this…

1

Stopping the build after first (compilation) error in team build

  Scenario – We are building multiple solutions in our Team Build project file. We want to halt the build when the first compile error is encountered.   Answer –   If you are building multiple solutions (sln’s) and you encounter error in any sln, the build process will not stop after that sln and will continue…

6