Skip to content

CopyUsed with new TrimMode #3039

@adirh3

Description

@adirh3

Previously, TrimMode allowed using link or copyused modes for assemblies that opted in for trimming.
Since .NET 7 Preview 7 (I believe #2856), TrimMode now has partial or full to enable/disable trimming of all assemblies, but now there is no way (unless I missed it) to copy assemblies as is (previously copyused) while not trimming libraries that did not opt in for trimming (currently partial).

Is there any way to achieve copyused and partial mode at the same time?

Thanks!

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