[Xamarin.ProjectTools] Fix path to xabuild for monodroi. (#948)

The Builder was not checking for the xabuild script in the
`out` directory for the monodroid tree.
This commit is contained in:
Dean Ellis 2017-10-19 17:40:39 +01:00 коммит произвёл Jonathan Pryor
Родитель 2dc5689a5d
Коммит d871bf8840
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -50,6 +50,9 @@ namespace Xamarin.ProjectTools
#else
var xabuild = Path.GetFullPath (Path.Combine (Root, "..", "Release", "bin", "xabuild"));
#endif
if (File.Exists (xabuild))
return xabuild;
xabuild = Path.GetFullPath (Path.Combine (Root, "..", "..", "..", "..", "..", "..", "..", "out", "bin", "xabuild"));
if (File.Exists (xabuild))
return xabuild;
return Path.GetFullPath (Path.Combine (Root, "..", "..", "tools", "scripts", "xabuild"));