-
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] Fix message for missing Platform error …
…XA5207 (#1152) Fixes: #1136 Commit 7f45a6d reworked the `<GetJavaPlatformJar/>` Task (and others) to handle a `NullReferenceException`. However the error logging code in `MonoAndroidHelper.cs` was not formatted correctly. As a result the XA5207 error would be logged without any message. This commit fixes up the `LogError()` call to make sure the error has a decent message. It also adds a unit test so that we can catch this issue if it regresses in the future.
- Loading branch information
1 parent
332d0c1
commit 6aabfef
Showing
2 changed files
with
28 additions
and
1 deletion.
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