You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<TargetName="TestIssueTarget"AfterTargets="GenerateNuspec">
<MessageText="TestIssueTarget was executed"></Message>
</Target>
If GenerateNuspec was skipped, because everything is up to date, I would expect the TestIssueTarget to be skipped as well. Unfortunately thats not the case. The TestIssueTarget is always executed, even if the build system detected that GenerateNuspec can be skipped.
If this is the intended behavior, how can I achieve what I am aiming to?
The text was updated successfully, but these errors were encountered:
Team Triage: This is by design because the idea behind incremental build is that it doesn't matter if it executed or not, what matters is whether the inputs are newer than the outputs (checked via timestamp). So whether a target skipped is not observable outside that target. What you can do is add inputs and outputs to your target with an input that is output by the GenerateNuspec target.
Given is a target definition like this:
If GenerateNuspec was skipped, because everything is up to date, I would expect the TestIssueTarget to be skipped as well. Unfortunately thats not the case. The TestIssueTarget is always executed, even if the build system detected that GenerateNuspec can be skipped.
If this is the intended behavior, how can I achieve what I am aiming to?
The text was updated successfully, but these errors were encountered: