Skip to content

Commit b4e3361

Browse files
committed
[dotnet] Tell ILC about any satellite assemblies.
1 parent 3c912d7 commit b4e3361

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dotnet/targets/Xamarin.Shared.Sdk.targets

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,6 +1280,13 @@
12801280
<ItemGroup>
12811281
<_CustomLinkFlags Include="$(_LinkerArgsSplitBySemiColon.Split(';'))" />
12821282
</ItemGroup>
1283+
1284+
<ItemGroup>
1285+
<IlcSatelliteAssembly Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.Culture)' != '' And '%(ResourceCopyLocalItems.Culture)' != 'neutral'" />
1286+
<IlcSatelliteAssembly Include="@(IntermediateSatelliteAssembliesWithTargetPath)" Condition="'%(IntermediateSatelliteAssembliesWithTargetPath.Culture)' != '' And '%(IntermediateSatelliteAssembliesWithTargetPath.Culture)' != 'neutral'" />
1287+
<!-- Culture is not set on ReferenceSatellitePaths items, so use DestinationSubDirectory instead -->
1288+
<IlcSatelliteAssembly Include="@(ReferenceSatellitePaths)" Condition="'%(ReferenceSatellitePaths.DestinationSubDirectory)' != ''" />
1289+
</ItemGroup>
12831290
</Target>
12841291

12851292
<PropertyGroup>

0 commit comments

Comments
 (0)