Log error message when a non-existent path is specified.

This commit is contained in:
the_fiddler 2010-10-05 20:38:44 +00:00
parent 8e7c717151
commit cbeb09ebcb

View file

@ -59,6 +59,7 @@ namespace Build.Tasks
if (String.IsNullOrEmpty(Path) ||
System.IO.Directory.Exists(Path))
{
Log.LogError(String.Format("Path '{0}' does not exist.", Path));
return false;
}
else