[msbuild] fix some weird local result variable initialization issue.
authorAtsushi Eno <atsushieno@gmail.com>
Thu, 5 Jun 2014 04:02:50 +0000 (13:02 +0900)
committerAtsushi Eno <atsushieno@gmail.com>
Thu, 5 Jun 2014 04:11:45 +0000 (13:11 +0900)
I cannot explain why, but this affects building solution that has more than
one projects for MS.Build.dll. <MSBuild/> task returns false for successful
builds without this change.
Most likely codegen or runtime issue, but a bit too high level to drill down.

mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/MSBuild.cs

index 4200cca1daf79e82def55edffe034d9a1c9830ad..690b5decbbb5067d48fd6de0f1972fe19af16eb4 100644 (file)
@@ -104,6 +104,7 @@ namespace Microsoft.Build.Tasks {
                                        result = false;
                                }
 
+                               all_result = true;
                                if (!result)
                                        all_result = false;