TeamCity has an extensibility function in which you can output special commands to the console, and the TeamCity agent will capture commands and publish the results to TeamCity.
If you run StatLight on your desktop, run the regular console. Then run another run with the -teamcity parameter. Pay attention to the difference in output?
In TeamCity, you can customize Run Line Build Runner
Executable file: "<Path to statlight.exe>"
Command parameters: "-x =% system.teamcity.build.checkoutDir% \ PathToXap \ SilverlightClient.Tests.xap --teamcity"
Hope this helps.
source share