you have so many people who are reviewing ways too often, look at this fragment, we use it in production and work like a charme!
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup /> <Target Name="EndToEndIteration" Condition=" '$(IsDesktopBuild)'!='true' " DependsOnTargets="$(EndToEndIterationDependsOn)" > <CallTarget Targets="Build"/> </Target> <Target Name="Build"> <MSBuild Projects=".\RWS.Core\RWS.Core.sln" Properties="Configuration=Debug;OutDir=bin\" /> </Target> </Project>
PS you need a complete installation of the .NET framework, which will be available on the build machine, also pay attention to the relative solution path related to the folder from which my TfsBuild.proj is located. I have this file configured to automatically build TFS and just works :)
also look at this question and answer: Is a separate Visual Studio license for the build machine?
source share