[dotnet] Rearrange items in item groups so that ILC gets the output from ILLink
This commit is contained in:
Родитель
8cfee8b599
Коммит
6bd8915d1a
|
@ -1179,6 +1179,14 @@
|
|||
<ItemGroup>
|
||||
<!-- We need to mark all __Internal P/Invokes as direct, so that the native linker doesn't remove them -->
|
||||
<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>
|
||||
</Target>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче