-
Notifications
You must be signed in to change notification settings - Fork 515
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
Don't suppress trim analysis warnings when linking all assemblies #11246
Labels
dotnet
An issue or pull request related to .NET (6)
enhancement
The issue or pull request is an enhancement
good first issue
This is a good first issue for someone to start working with our code
Milestone
Comments
/cc @spouliot |
spouliot
pushed a commit
to spouliot/xamarin-macios
that referenced
this issue
Apr 20, 2021
… tests note: link all should fail due to xamarin#11246
vs-mobiletools-engineering-service2
pushed a commit
to vs-mobiletools-engineering-service2/xamarin-macios
that referenced
this issue
Apr 22, 2021
… tests note: link all should fail due to xamarin#11246
rolfbjarne
added
the
good first issue
This is a good first issue for someone to start working with our code
label
Aug 26, 2022
rolfbjarne
added a commit
that referenced
this issue
Sep 27, 2024
We've implemented this for .NET 9. |
github-project-automation
bot
moved this from Todo
to Done
in .NET 9 MAUI Performance, App Size, Inner Loop
Oct 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dotnet
An issue or pull request related to .NET (6)
enhancement
The issue or pull request is an enhancement
good first issue
This is a good first issue for someone to start working with our code
dotnet/sdk#16865 adds a property (available in preview4)
TrimmerDefaultAction
which can be set tolink
to enable "LinkAll" behavior. Consider not suppressing trim analysis warnings in this case to warn users about possible issues.This can be done by setting the following in some targets that are imported after the project file but before the .NET illink targets (so that it takes into account any user-set value for
TrimmerDefaultAction
):and removing the unconditional setting from here:
xamarin-macios/dotnet/targets/Xamarin.Shared.Sdk.props
Line 12 in 5e18eae
@jonathanpeppers @marek-safar
See also #10405.
The text was updated successfully, but these errors were encountered: