[dotnet-linker] Set Application.DeploymentTarget and Application.SdkVersion so that we can use the shared implementation.

This commit is contained in:
Rolf Bjarne Kvinge 2020-07-17 16:38:40 +02:00
Родитель bb6e8d3f1b
Коммит 31f7b6f84c
2 изменённых файлов: 2 добавлений и 8 удалений

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

@ -38,14 +38,6 @@ namespace Xamarin.Bundler {
}
}
public Version SdkVersion {
get { return Configuration.SdkVersion; }
}
public Version DeploymentTarget {
get { return Configuration.DeploymentTarget; }
}
public ApplePlatform Platform {
get { return Configuration.Platform; }
}

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

@ -136,6 +136,8 @@ namespace Xamarin.Linker {
Target = new Target (Application);
Application.Cache.Location = CacheDirectory;
Application.DeploymentTarget = DeploymentTarget;
Application.SdkVersion = SdkVersion;
switch (Platform) {
case ApplePlatform.iOS: