Define a Target (Target2) for which an execution request will cause Target1 to be executed beforehand.
Target2
Target1
<Target Name="Target2"> </Target> <Target Name="Target1" BeforeTargets="Target2"> </Target>