gluck / il-repack

Open-source alternative to ILMerge
Apache License 2.0
1.19k stars 217 forks source link

Does IL Repack remove unused members? #295

Closed TonyValenti closed 11 months ago

TonyValenti commented 3 years ago

If I use IL Repack, is there an option to only include types that are used instead of the whole assembly?

ngyukman commented 3 years ago

iirc, I don't think there is such an option for that

gluck commented 3 years ago

IIRC if you internalize types, it'l only merged the types which as used: e.g. ILRepack A.dll B.dll /intern will only expose A types and include B types used by A.

KirillOsenkov commented 11 months ago

Duplicate of #309