-
Notifications
You must be signed in to change notification settings - Fork 127
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
IL Trimmer error when publishing linux self-contained exe with "trim unused code" #3162
Comments
Disabling "Trim unused code" enables the publish operation to succeed (probably not very surprising given the error is with the trimmer!) |
@vitek-karas can we guess which intrinsic is missing or do we need a repro? |
No. All libraries are targetting "netstandard2.0" or "net6.0" |
Hmm - that would point this to NOT be the same issue as I mention above (or it's unlikely). Can you try the process described here: #3160 Would it be possible to get a repro project? |
|
For the record, I had the same issue in my very large avalonia android app. It uses many nuget packages so I haven't yet combed through all of them and their dependencies to see which version of .net standard they use. Doing the process in #3106 seemed to fix my issue. |
See attached build log for full details
build_log.txt
Relevant portion appears to be this....
Dotnet info...
The text was updated successfully, but these errors were encountered: