If a target specified in Targets fails and RunEachTargetSeparately is true, the task continues to build the remaining targets.
If you want to build the default targets, use the MSBuild Task and set the Projects parameter equal to $(MSBuildProjectFile).