Skip to content

Commit e383c4a

Browse files
committed
ff
1 parent 484d862 commit e383c4a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ public override bool RunTask ()
9797
symbols [symbolPath] = symbol = new TaskItem (symbolPath);
9898
}
9999
}
100+
symbol?.SetDestinationSubPath ();
100101
assembly.SetDestinationSubPath ();
101102
output.Add (assembly);
102103
} else {
@@ -109,9 +110,6 @@ public override bool RunTask ()
109110
OutputAssemblies = output.ToArray ();
110111
ResolvedSymbols = symbols.Values.ToArray ();
111112

112-
foreach (var symbol in ResolvedSymbols)
113-
symbol.SetDestinationSubPath ();
114-
115113
// Set ShrunkAssemblies for _RemoveRegisterAttribute and <BuildApk/>
116114
if (PublishTrimmed) {
117115
ShrunkAssemblies = OutputAssemblies.Select (a => {
@@ -154,6 +152,7 @@ void SetDestinationSubDirectory (ITaskItem assembly, string fileName, ITaskItem
154152
} else {
155153
Log.LogDebugMessage ($"Android ABI not found for: {assembly.ItemSpec}");
156154
assembly.SetDestinationSubPath ();
155+
symbol?.SetDestinationSubPath ();
157156
}
158157
}
159158
}

0 commit comments

Comments
 (0)