[msbuild tests] Add more potential directories where assemblies might be.

This commit is contained in:
Rolf Bjarne Kvinge 2017-02-09 11:56:01 +01:00
Родитель 0df7211b95
Коммит c3c6f5cbeb
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -65,8 +65,11 @@ namespace Xamarin.iOS.Tasks
coreFiles = GetCoreAppFiles (platform, config, extensionName + ".dll", Path.GetFileNameWithoutExtension (extensionPath));
} else {
basedirs.Add (AppBundlePath);
if (platform == "iPhone")
if (platform == "iPhone") {
basedirs.Add (Path.Combine (AppBundlePath, ".monotouch-32"));
basedirs.Add (Path.Combine (AppBundlePath, "Frameworks", "Xamarin.Sdk.framework", "MonoBundle"));
basedirs.Add (Path.Combine (AppBundlePath, "Frameworks", "Xamarin.Sdk.framework", "MonoBundle", ".monotouch-32"));
}
coreFiles = GetCoreAppFiles (platform, config, hostAppName + ".exe", hostAppName);
}
TestFilesExists (basedirs.ToArray (), coreFiles);