Skip to content

Improve trimming support for EF Core apps to reduce application size #21894

@roji

Description

@roji

This is a grouping of related issues. Feel free to vote (👍) for this issue to indicate that this is an area that you think we should spend time on, but consider also voting for individual issues for things you consider especially important.


ILLinker allows making application size smaller by trimming code that isn't actually used. This is problematic in various dynamic/reflection scenarios, where the linker is unable to know that a method is actually needed.

Done in 8.0

Backlog

Resources:

FYI the regression testing strategy for this isn't trivial
Relevant blog post: https://devblogs.microsoft.com/dotnet/app-trimming-in-net-5/

Metadata

Metadata

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions