This is meant to help avoiding accidental trimming on some common framework types used during serialization in JS interop.
<ItemGroup>
<EmbeddedResource Include="ILLink.Descriptors.xml">
<LogicalName>ILLink.Descriptors.xml</LogicalName>
</EmbeddedResource>
</ItemGroup>
<linker>
<assembly fullname="System.Runtime">
<type fullname="System.Collections.Generic.KeyValuePair`2" preserve="all" />
</assembly>
</linker>