slightly reduce NIE code path.
authorAtsushi Eno <atsushieno@veritas-vos-liberabit.com>
Thu, 14 Nov 2013 20:35:28 +0000 (05:35 +0900)
committerAtsushi Eno <atsushieno@veritas-vos-liberabit.com>
Tue, 3 Dec 2013 07:51:34 +0000 (16:51 +0900)
mcs/class/Microsoft.Build/Microsoft.Build.Execution/BuildSubmission.cs

index 7443781ab0e1abc5808ff54daf4631bb422476a0..5edc9f88c9fed5186b98fec61a5ff915107ba6ad 100644 (file)
@@ -86,8 +86,10 @@ namespace Microsoft.Build.Execution
                                        // null key is allowed and regarded as blind success(!)
                                        if (!request.ProjectInstance.Targets.TryGetValue (targetName, out target))
                                                result.AddResultsForTarget (targetName, new TargetResult (new ITaskItem [0], TargetResultCode.Failure));
-                                       else
-                                               throw new NotImplementedException ();
+                                       else {
+                                               foreach (var targetChild in target.Children)
+                                                       throw new NotImplementedException ();
+                                       }
                                }
                        
                                result.OverallResult = result.ResultsByTarget.Select (p => p.Value).Any (r => r.ResultCode == TargetResultCode.Failure) ? BuildResultCode.Failure : BuildResultCode.Success;