Skip to content

Commit

Permalink
[dotnet] Tell ILC about any satellite assemblies.
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfbjarne committed Jun 20, 2023
1 parent 6d2e0b5 commit 7e1482c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dotnet/targets/Xamarin.Shared.Sdk.targets
Original file line number Diff line number Diff line change
Expand Up @@ -1281,6 +1281,13 @@
<ItemGroup>
<_CustomLinkFlags Include="$(_LinkerArgsSplitBySemiColon.Split(';'))" />
</ItemGroup>

<ItemGroup>
<IlcSatelliteAssembly Include="@(ResourceCopyLocalItems)" Condition="'%(ResourceCopyLocalItems.Culture)' != '' And '%(ResourceCopyLocalItems.Culture)' != 'neutral'" />
<IlcSatelliteAssembly Include="@(IntermediateSatelliteAssembliesWithTargetPath)" Condition="'%(IntermediateSatelliteAssembliesWithTargetPath.Culture)' != '' And '%(IntermediateSatelliteAssembliesWithTargetPath.Culture)' != 'neutral'" />
<!-- Culture is not set on ReferenceSatellitePaths items, so use DestinationSubDirectory instead -->
<IlcSatelliteAssembly Include="@(ReferenceSatellitePaths)" Condition="'%(ReferenceSatellitePaths.DestinationSubDirectory)' != ''" />
</ItemGroup>
</Target>

<PropertyGroup>
Expand Down

0 comments on commit 7e1482c

Please sign in to comment.