Skip to content

Commit 6d67118

Browse files
committed
[WIP] DO use different names for the generator target
Same name but different condition works, but not really
1 parent b306cfb commit 6d67118

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1626,7 +1626,7 @@ because xbuild doesn't support framework reference assemblies.
16261626
</PrepareAbiItems>
16271627
</Target>
16281628

1629-
<Target Name="_GenerateAndroidRemapNativeCode"
1629+
<Target Name="_GenerateEmptyAndroidRemapNativeCode"
16301630
DependsOnTargets="_PrepareAndroidRemapNativeAssemblySources"
16311631
Condition=" '@(_AndroidRemapMembers->Count())' == '0' "
16321632
Inputs="$(MSBuildProjectFullPath)"
@@ -1663,6 +1663,7 @@ because xbuild doesn't support framework reference assemblies.
16631663
_PrepareEnvironmentAssemblySources;
16641664
_GenerateEnvironmentFiles;
16651665
_GenerateAndroidRemapNativeCode;
1666+
_GenerateEmptyAndroidRemapNativeCode;
16661667
_IncludeNativeSystemLibraries;
16671668
</_GeneratePackageManagerJavaDependsOn>
16681669
</PropertyGroup>

0 commit comments

Comments
 (0)