dotnet / dotnet/linker

CopyUsed with new TrimMode

Open
#3,039 14 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
392
Forks
128
Avg merge
2d 10h
Merged PRs (30d)
2

Description

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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.