fix for VSWhere prerelease detection
This commit is contained in:
Родитель
c069254bac
Коммит
195c18f910
|
@ -24,7 +24,11 @@ var ANDROID_SDK_BASE_VERSION = "v1.0";
|
|||
var ANDROID_SDK_VERSION = "v9.0";
|
||||
if (string.IsNullOrEmpty(XAMARIN_ANDROID_PATH)) {
|
||||
if (IsRunningOnWindows()) {
|
||||
var vsInstallPath = VSWhereLatest(new VSWhereLatestSettings { Requires = "Component.Xamarin" });
|
||||
var vsInstallPath = VSWhereLatest(new VSWhereLatestSettings
|
||||
{
|
||||
Requires = "Component.Xamarin",
|
||||
IncludePrerelease = true
|
||||
});
|
||||
XAMARIN_ANDROID_PATH = vsInstallPath.Combine("Common7/IDE/ReferenceAssemblies/Microsoft/Framework/MonoAndroid").FullPath;
|
||||
} else {
|
||||
if (DirectoryExists("/Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/xamarin.android/xbuild-frameworks/MonoAndroid"))
|
||||
|
|
Загрузка…
Ссылка в новой задаче