* ToolTask.cs: Don't check for tool's existence, as we might
authorAnkit Jain <radical@corewars.org>
Tue, 8 Jun 2010 20:20:19 +0000 (20:20 -0000)
committerAnkit Jain <radical@corewars.org>
Tue, 8 Jun 2010 20:20:19 +0000 (20:20 -0000)
not have the full path.

svn path=/trunk/mcs/; revision=158680

mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/ChangeLog
mcs/class/Microsoft.Build.Utilities/Microsoft.Build.Utilities/ToolTask.cs

index 2552ad73158a1b297d6407521b23684984637b88..12a3248aa0057125e0b256799226cb2efbe2940e 100644 (file)
@@ -1,3 +1,8 @@
+2010-06-09  Ankit Jain  <jankit@novell.com>
+
+       * ToolTask.cs: Don't check for tool's existence, as we might
+       not have the full path.
+
 2010-05-28  Ankit Jain  <jankit@novell.com>
 
        * AssemblyResolver.cs: Add some comments.
index eed5e7a2760225cdf58dc65d08edfbf467cdfa5f..1a9247e2d0dc537abe54988218bcb990e695c62c 100644 (file)
@@ -111,11 +111,6 @@ namespace Microsoft.Build.Utilities
                        if (pathToTool == null)
                                throw new ArgumentNullException ("pathToTool");
 
-                       if (!File.Exists (pathToTool)) {
-                               Log.LogError ("Tool not found at {0}", pathToTool);
-                               return -1;
-                       }
-
                        string output, error, responseFileName;
                        StreamWriter outwr, errwr;