-
Notifications
You must be signed in to change notification settings - Fork 528
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Xamarin.Android.Build.Tasks] Prevent `$(AndroidUseLatestPlatformSdk)…
…` from using Unstable APIs Fixes #1221 Currently when a user sets `$(AndroidUseLatestPlatformSdk)` it will automatically use the Max ApiLevel. This is not always a stable ApiLevel. It is highly possible that it will be unstable. Users will generally want to keep to the Max Stable in this senario. This commit alters the code so that we use the latest Max Stable ApiLevel when using `$(AndroidUseLatestPlatformSdk)`. However we should still allow users to use the unstable ones if they really want to. This can be achieved in a number of ways 1. Turn off `$(AndroidUseLatestPlatformSdk)` and set the `$(TargetFrameworkVersion)` directly. 2. Leave `$(AndroidUseLatestPlatformSdk)` on and set the `$(TargetFrameworkVersion)` directly. So effectviely, just manually target the unstable Api. But it is something the user will need to think about and do manaully. By default we will only use to the latest stable ApiLevel.
- Loading branch information
1 parent
0e1d1c8
commit 133767b
Showing
3 changed files
with
79 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters