Skip to content
Discussion options

You must be logged in to vote

I think you have a typo in the LambdaHelpers.csproj with the TrimMode property. You have set to link but it is supposed to be capitalized as Link. When I cloned your repo and made that change I was able to build for Native AOT.

I'm not sure TrimMode is what you want to use for a class library. Seems like Microsoft has moved away from that attribute since there isn't a lot of documentation on it. Instead what we use in our libraries is <IsTrimmable>true</IsTrimmable>.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ashishdhingra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants