Skip to content

Commit 0f1ef6e

Browse files
committed
[dotnet] Fix computing assemblies we should look for unmanaged entry points in.
1 parent 0ebaf23 commit 0f1ef6e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dotnet/targets/Xamarin.Shared.Sdk.targets

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,8 +1337,9 @@
13371337
<IlcReference Include="@(ManagedAssemblyToLink)" Exclude="@(ManagedBinary)" />
13381338

13391339
<!-- Process UnmanagedCallersOnly attributes from every assembly -->
1340-
<UnmanagedEntryPointsAssembly Remove="System.Private.CoreLib" />
1341-
<UnmanagedEntryPointsAssembly Include="@(_UpdatedManagedAssemblyToLink->'%(Filename)')" />
1340+
<_UnmanagedEntryPointsAssembliesToAdd Include="@(_UpdatedManagedAssemblyToLink->'%(Filename)')" />
1341+
<_UnmanagedEntryPointsAssembliesToAdd Remove="System.Private.CoreLib" />
1342+
<UnmanagedEntryPointsAssembly Include="@(_UnmanagedEntryPointsAssembliesToAdd)" />
13421343

13431344
<!-- Link in the output from ILC -->
13441345
<_NativeExecutableObjectFiles Include="$(NativeObject)" />

0 commit comments

Comments
 (0)