Skip to content

Commit dbdd569

Browse files
committed
Fix build errors
1 parent db239f5 commit dbdd569

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Xamarin.Android.Build.Tasks/Tasks/AndroidComputeResPaths.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ public class AndroidComputeResPaths : AndroidTask
4949

5050
public string? Prefixes { get; set; }
5151

52-
public string PrefixProperty { get; set; }
52+
[Required]
53+
public string PrefixProperty { get; set; } = "";
5354

5455
public bool LowercaseFilenames { get; set; }
5556

src/Xamarin.Android.Build.Tasks/Tasks/CreateAar.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ public class CreateAar : AndroidTask
3434
[Required]
3535
public string OutputFile { get; set; } = "";
3636

37-
public string PrefixProperty { get; set; }
37+
[Required]
38+
public string PrefixProperty { get; set; } = "";
3839

3940
public override bool RunTask ()
4041
{

0 commit comments

Comments
 (0)