IL2008: Could not resolve type specified in descriptor file

Cause

A type specified in a descriptor file could not be resolved.

Rule description

Descriptor files are used to instruct the trimmer to always keep certain items in an assembly, regardless of whether the trimmer could find any references to them.

A type specified in a descriptor file could not be found in the assembly matching the fullname argument that was passed to the parent of the type element.

Example

<!-- IL2008: Could not resolve type 'NonExistentType' -->
<linker>
  <assembly fullname="MyAssembly">
    <type fullname="NonExistentType" />
  </assembly>
</linker>