Skip to content

Better trimming support#594

Merged
mckaragoz merged 3 commits intoCodeBeamOrg:devfrom
ScarletKuro:trim_support
Feb 11, 2026
Merged

Better trimming support#594
mckaragoz merged 3 commits intoCodeBeamOrg:devfrom
ScarletKuro:trim_support

Conversation

@ScarletKuro
Copy link
Contributor

No description provided.

@ScarletKuro
Copy link
Contributor Author

@mckaragoz

@mckaragoz
Copy link
Contributor

mckaragoz commented Jan 26, 2026

Probably i did wrong configuration with trimming. The nuget package was ~500kb before, now it's ~700, even moved barcode and cs mapper to individual packages. (Added linker.xml to choose excluded files)

@ScarletKuro
Copy link
Contributor Author

Probably i did wrong configuration with trimming. The nuget package was ~500kb before, now it's ~700, even moved barcode and cs mapper to individual packages. (Added linker.xml to choose excluded files)

With this PR you won't need linker.xml anymore.

@ScarletKuro
Copy link
Contributor Author

Also, nugets never contain the trimmed assembly. It makes no point as you don't know what user needs.
It gets trimmed only during dotnet publish. The size increased because of something else.

@mckaragoz mckaragoz merged commit 8a7ac71 into CodeBeamOrg:dev Feb 11, 2026
1 check passed
@mckaragoz
Copy link
Contributor

Thanks 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants