From d08fdf2b30376ee5f3c37c7f876be26381f0d450 Mon Sep 17 00:00:00 2001 From: Dean Ellis Date: Wed, 23 Oct 2024 16:59:40 +0100 Subject: [PATCH] try this --- .../Android/Xamarin.Android.Resource.Designer.targets | 6 +++++- .../Tasks/GenerateResourceCaseMap.cs | 3 +++ .../Tests/Xamarin.Android.Build.Tests/DesignerTests.cs | 10 +++++----- .../Utilities/FileResourceParser.cs | 5 +++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/Xamarin.Android.Build.Tasks/MSBuild/Xamarin/Android/Xamarin.Android.Resource.Designer.targets b/src/Xamarin.Android.Build.Tasks/MSBuild/Xamarin/Android/Xamarin.Android.Resource.Designer.targets index 76352cda754..7c6ae426b60 100644 --- a/src/Xamarin.Android.Build.Tasks/MSBuild/Xamarin/Android/Xamarin.Android.Resource.Designer.targets +++ b/src/Xamarin.Android.Build.Tasks/MSBuild/Xamarin/Android/Xamarin.Android.Resource.Designer.targets @@ -82,10 +82,14 @@ Copyright (C) 2016 Xamarin. All rights reserved. Inputs="@(_AndroidResourceDest);@(LibraryResourceDirectories->'%(StampFile)')" Outputs="$(_GenerateResourceCaseMapFile)" > + + + <_LocalAarFiles Include="@(AndroidAarLibrary)" Condition=" '@(LibraryResourceDirectories->Count())' == '0' " /> + ", "