To test your Team Build Project locally with TFSBuild use the Visual Studio 2010 command prompt. here's a sample C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>TFSBuild start /collectio n:http://MYSERVER:8080 /builddefinition:"MYTFS/TestBuild" /droplocation:"\\ SOMECOMPUTER\SOMEDIRECTORY" http://msdn.microsoft.com/en-us/library/ms181742.aspx However firstly I recommend testing the syntax of your project with MsBuild e.g. C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>msbuild C:\SOMEDIR\TeamBui ldTypes\MsBuildSamples\TFSBuild.proj http://msdn.microsoft.com/en-us/library/ms181723(VS.90).aspx In order to tell msbuild to run a particular target within use something like C:\MsBuildSamples>msbuild TfsBuild.proj /t:DesktopRebuild this will run the Target "DesktopRebuild". Passing Parameters/Arguments To use parameters passed in through TFSbuild it's simple, just pass in your argument with the /property switch on the command line o...
Layman explanations of Software coding and configuration techniques. With example code where possible.