You can make the goal dependent on another goal
... <Target Name="Two" DependsOnTargets="One"> <Message Text="... comes Two." /> </Target> <Target Name="One"> <Message Text="After One ..." /> </Target> ...
Your recent posts indicate that you are trying to rely heavily on the challenge of Goals, which, as I understand it, run counter to the philosophy of MSBuild.
Try to correlate the dependencies between your Goals.
Filburt
source share