Define a sequence of Targets (Target1
, then Target2
) that must execute before Target3
. Note that an execution request for Target3
is required to cause Target1
and Target2
to be executed.
<Target Name="Target3" DependsOnTargets="Target1;Target2">
</Target>
<Target Name="Target2">
</Target>
<Target Name="Target1">
</Target>