Skip to content

ILLinker should special case facade assemblies #90469

@Youssef1313

Description

@Youssef1313

Description

See #82169

There are known assemblies that has some reference assemblies that may not be existing. The case I was seeing is System.Runtime.Serialization -> System.Runtime.Serialization.Schema.

When not using --skip-unresolved flag of the linker, it reports IL1009 error since it couldn't resolve System.Runtime.Serialization.Schema.

Reproduction Steps

I don't have an isolated repro right now. But the case was exactly that System.Runtime.Serialization.Schema can't be resolved.

Expected behavior

As #82169 (comment) outlines:

Basically, those specific handful of libraries should be treated as special and not resolved for dependency analysis.

Actual behavior

IL1009

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Tools-ILLink.NET linker development as well as trimming analyzers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions