Skip to content

Linker removes data from "copy" assemblies #639

@sbomer

Description

@sbomer

The "copy" action currently sometimes removes assemblyrefs and redirects references to removed type forwarders. This causes issues when there's non-IL data in an assembly that we want to copy as-is. For example, see https://github.com/dotnet/coreclr/issues/25334#issuecomment-506836765.

If we don't support this, there will be workarounds such as passing "skip" and manually copying over the file, or using '-reference' to specify all inputs and prevent resolving this reference. However this is a usability issue, so we may want to consider doing something more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions