TFS 2010 Build Service Executing Additional Tasks
I need to execute an MSBuild process to perform some additional work after t开发者_高级运维he build service has finished running. Basically, after the app is finished, I need a process to move around the projects to new locations and do other transformations. Is there a simple way to tell the TFS Build service to run additional tasks after the build?
Thanks.
<Target Name="AfterCompile">
<Copy SourceFiles="$(SolutionRoot)\..\..\Build\Project\Installer.msi" DestinationFolder="$(BinariesRoot)\Destination" />
</Target>
You can use a different target if you prefer, ie "AfterDropBuild", whatever works best for you.
http://msdn.microsoft.com/en-us/library/aa337604.aspx
精彩评论