forked from dotnet/android
-
Notifications
You must be signed in to change notification settings - Fork 0
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] Always create the debug.keystore (dotne…
…t#1148) Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=61065 If a user sets the `$(AndroidKeyStore)` to `True` for a debug configuration they will get the following error. [MESSAGE] jarsigner error: java.lang.RuntimeException: keystore load: /Users/$(user)/.local/share/Xamarin/Mono for Android/debug.keystore (No such file or directory) Note this will only happen if they have NEVER build with `$(AndroidKeyStore)` set to `False`. This is because we don't always generate the `debug.keystore`. So rather than hitting this issue we should always generate the `debug.keystore` regardless of what the setting for `$(AndroidKeyStore)` is. This commit splits out the keystore generation into its own target. This target will check the existance of the file and generate it if required. We also move all the debug key property values into Properties so that they can be updated in one place.
- Loading branch information
1 parent
d7f96cd
commit 5b2e027
Showing
2 changed files
with
35 additions
and
13 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