[dotnet-linker] Set Application.DeploymentTarget and Application.SdkVersion so that we can use the shared implementation.
This commit is contained in:
Родитель
bb6e8d3f1b
Коммит
31f7b6f84c
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче