Closed MichaelSimons closed 1 year ago
cc @mthalman
Any suggestions how to catch trimming issues? This worked for me previously to catch issues
I don't know. If the project is not trimmable because it targets netstandard2.0, why do you care about catching trimming issues?
It's used in a project that does support trimming and previously I got trim analyzer errors in that project for this dependency. Those are all addressed in the PR where I added the trim properties here - I had to fix up a bunch of STJ code in the library
It's used in a project that does support trimming and previously I got trim analyzer errors in that project for this dependency. Those are all addressed in the PR where I added the trim properties here - I had to fix up a bunch of STJ code in the library
That's a question for the trimming folks. All I know is this will cause a build error once this repo updates to build with rc1.
@joeloff, FYI, this is something I'd like to get into RC2 to eliminate a source-build patch.
Fixes #288
According to https://learn.microsoft.com/en-us/dotnet/core/tools/sdk-errors/netsdk1195, trimming in only supported on netcoreapp3.0 and above. Microsoft.Deployment.DotNet.Releases targets netstandard2.0