开发者

TFS 2010 Build Service Executing Additional Tasks

开发者 https://www.devze.com 2023-02-05 19:48 出处:网络
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 t

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号