-
Notifications
You must be signed in to change notification settings - Fork 768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support aggressive trimming #1060
Conversation
Why only 5.0? |
grpc-dotnet multi-targets 3.0 and 5.0, and the attributes are only present in .NET 5. When the solution multi-targets again in the future I'll refactor |
We added them in source to handle ns2.0 style libraries. Trimming is agnostic of the target so you can do the same here |
Could, but why? Everything multi-targets 5.0 so 5.0 packages will always be used in an app with trimming. |
You don't have to but trimming isn't coupled to the target framework |
Added integration test. Requires a change in Grpc.Core.Api. Blocked while waiting for it to be updated. |
9c33eb4
to
fc3c5a8
Compare
89321be
to
5b89ace
Compare
5b89ace
to
b6cb0d6
Compare
Attributes to support aggressive trimming. Will add a test app that does trimming soon.