关于[Customizing Trimming in .NET 5]的摘要:
In the last blog post, we talked about how trimming in .NET 5 has been expanded to be able to trim types and members that are detected as not being used in the application, and that detection uses static analysis, it doesn’t run the code for the app, so it doesn’t know which branches won’t be taken or what values variables will actually contain at runtime.
原文地址: https://devblogs.microsoft.com/dotnet/customizing-trimming-in-net-core-5/