title: How to find build event output in TFS build
body: <p>We have a solution with a lot of projects. One of those projects contains a Visual Studio pre-build event, that auto-generates all code files used in that project. This works rather well on our local machines.</p>
  
  <p>However building it using TFS build it fails with the rather undescriptive "exited with code XY". So, the pre-build event fails, but so far I have been unable to find the output normally generated by that event (console output).</p>
  
  <p>I tried debugging the TFS Build service, but that gave me nothing, I increased the build logging to "Diagnostics" but still nothing. No build log file seems to be generated anywhere.</p>
  
  <p>So is this output available anywhere, and if so where?</p>