Skip to content

Commit 7cb783c

Browse files
authored
AndroidPackagingOptionsInclude is ignored (#9524)
Fixes #9520 PR #8459 added support for the `AndroidPackagingOptionsInclude`. Unfortunately we forgot to add that property to the `BuildApk` and `BuildBaseAppBundle` calls in the closed source part of the product. Since then we have move that code into this repo. So lets update all the `BuildApk` and `BuildBaseAppBundle` calls to use the new property.
1 parent 70948d5 commit 7cb783c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2222,6 +2222,7 @@ because xbuild doesn't support framework reference assemblies.
22222222
ZipFlushFilesLimit="$(_ZipFlushFilesLimit)"
22232223
ZipFlushSizeLimit="$(_ZipFlushSizeLimit)"
22242224
ExcludeFiles="@(AndroidPackagingOptionsExclude)"
2225+
IncludeFiles="@(AndroidPackagingOptionsInclude)"
22252226
AndroidBinUtilsDirectory="$(AndroidBinUtilsDirectory)"
22262227
IntermediateOutputPath="$(IntermediateOutputPath)">
22272228
<Output TaskParameter="OutputFiles" ItemName="ApkFiles" />
@@ -2261,6 +2262,7 @@ because xbuild doesn't support framework reference assemblies.
22612262
ZipFlushFilesLimit="$(_ZipFlushFilesLimit)"
22622263
ZipFlushSizeLimit="$(_ZipFlushSizeLimit)"
22632264
ExcludeFiles="@(AndroidPackagingOptionsExclude)"
2265+
IncludeFiles="@(AndroidPackagingOptionsInclude)"
22642266
AndroidBinUtilsDirectory="$(AndroidBinUtilsDirectory)"
22652267
IntermediateOutputPath="$(IntermediateOutputPath)">
22662268
<Output TaskParameter="OutputFiles" ItemName="BaseZipFile" />

0 commit comments

Comments
 (0)