[dotnet] Rearrange items in item groups so that ILC gets the output from ILLink

This commit is contained in:
Rolf Bjarne Kvinge 2023-06-21 20:49:54 +02:00
Родитель 8cfee8b599
Коммит 6bd8915d1a
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -1179,6 +1179,14 @@
<ItemGroup> <ItemGroup>
<!-- We need to mark all __Internal P/Invokes as direct, so that the native linker doesn't remove them --> <!-- We need to mark all __Internal P/Invokes as direct, so that the native linker doesn't remove them -->
<DirectPInvoke Include="__Internal" /> <DirectPInvoke Include="__Internal" />
<!-- Give ILLink's output to ILC -->
<_UpdatedManagedAssemblyToLink Include="@(ManagedAssemblyToLink->'$(IntermediateLinkDir)%(Filename)%(Extension)')" Condition="Exists('$(IntermediateLinkDir)%(Filename)%(Extension)')" />
<ManagedAssemblyToLink Remove="@(ManagedAssemblyToLink)" />
<ManagedAssemblyToLink Include="@(PrivateSdkAssemblies);@(_UpdatedManagedAssemblyToLink)" />
<ManagedBinary Include="$(IntermediateLinkDir)$(TargetName)$(TargetExt)" />
<IlcCompileInput Include="@(ManagedBinary)" />
<IlcReference Include="@(ManagedAssemblyToLink)" Exclude="@(ManagedBinary)" />
</ItemGroup> </ItemGroup>
</Target> </Target>