Skip to content

Conversation

@sbomer
Copy link
Member

@sbomer sbomer commented Sep 20, 2023

Backport of #35186.

For completeness, these messages should mention all of the properties that can be set to produce the warning, even those that aren't the recommended way to enable trim/aot compatibility.For completeness, these messages should mention all of the properties that can be set to produce the warning, even those that aren't the recommended way to enable trim/aot compatibility.

Customer Impact

The previous warning message was confusing - it pointed to IsTrimmable when the warning was really caused by EnableTrimAnalyzer. Customers who set EnableTrimAnalyzer for an unsupported TFM will hit this warning.
The dotnet test team hit this, and customers are likely to hit it too.

Testing

Passed existing unit tests without any behavior changes. Only change is to the wording of the message.

Risk

Low. This is just a change to the wording of the warning message. However, note that the translated messages will need updating.

For completeness, these messages should mention all of the properties that can be set to produce the warning, even those that aren't the recommended way to enable trim/aot compatibility.For completeness, these messages should mention all of the
properties that can be set to produce the warning, even those
that aren't the recommended way to enable trim/aot compatibility.
@sbomer sbomer requested a review from vitek-karas September 20, 2023 22:46
@ghost ghost added Area-ILLink untriaged Request triage from a team member labels Sep 20, 2023
@marek-safar marek-safar added this to the 8.0.1xx milestone Sep 21, 2023
@rbhanda rbhanda modified the milestones: 8.0.1xx, 8.0.0 Oct 3, 2023
@marcpopMSFT
Copy link
Member

@sbomer @agocke is this ready to be merged? Since it has loc impacted, I'd like to get it merged sooner rather than later

@sbomer
Copy link
Member Author

sbomer commented Oct 5, 2023

Yup, it's ready to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-ILLink Servicing-approved untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants