TFS2010 - Logging inside custom build activity

前端 未结 2 1425
半阙折子戏
半阙折子戏 2021-01-26 18:32

We have a custom build activity, which performs the execution of our build. We use a custom activity, because the compilers we use are very special and the system is quite old a

相关标签:
2条回答
  • 2021-01-26 18:51

    You could try setting the following attribute on the Build Process Template XAML (cannot be done via the designer) to suppress the messages:

    mtbwt:BuildTrackingParticipant.Importance="None"
    

    example from my template:

    <InvokeMethod DisplayName="Delete File" mtbwt:BuildTrackingParticipant.Importance="None" ... />
    
    0 讨论(0)
  • 2021-01-26 19:05

    mtbwt:BuildTrackingParticipant.Importance="Low"/"None" only controls the call (I guess). Instead use mtbwt:BuildTrackingParticipant.TrackingOption="None", which seems to get completely rid of all tracking messages in the call.

    0 讨论(0)
提交回复
热议问题