diff options
Diffstat (limited to 'dir.traversal.targets')
-rw-r--r-- | dir.traversal.targets | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dir.traversal.targets b/dir.traversal.targets index d95aaa9712..c67e4d680f 100644 --- a/dir.traversal.targets +++ b/dir.traversal.targets @@ -21,6 +21,8 @@ BuildInParallel="true" ContinueOnError="ErrorAndContinue" /> + <!-- Given we ErrorAndContinue we need to propagate the error if the overall task failed --> + <Error Condition="'$(MSBuildLastTaskResult)'=='false'" /> </Target> <Target Name="CleanAllProjects"> @@ -41,6 +43,9 @@ Condition="'$(SerializeProjects)'!='true'" BuildInParallel="true" ContinueOnError="ErrorAndContinue" /> + + <!-- Given we ErrorAndContinue we need to propagate the error if the overall task failed --> + <Error Condition="'$(MSBuildLastTaskResult)'=='false'" /> </Target> <PropertyGroup> |