Skip to content

Conversation

@jonathanpeppers
Copy link
Member

Fixes: #5751

After bumping to .NET 6 Preview 3, we get hundreds of ILLINK warnings.
This is because of:

dotnet/sdk#16327

We need to default $(SuppressTrimAnalysisWarnings) to ignore these
warnings for now.

We should continue to use TrimMode=link, as that is the behavior
Xamarin developers get today.

Fixes: dotnet#5751

After bumping to .NET 6 Preview 3, we get hundreds of ILLINK warnings.
This is because of:

dotnet/sdk#16327

We need to default `$(SuppressTrimAnalysisWarnings)` to ignore these
warnings for now.

We should continue to use `TrimMode=link`, as that is the behavior
Xamarin developers get today.
@jonathanpeppers jonathanpeppers merged commit 3137b6d into dotnet:main Mar 26, 2021
@jonathanpeppers jonathanpeppers deleted the suppresstrimanalysiswarnings branch March 26, 2021 03:28
@marek-safar
Copy link
Contributor

We should continue to use TrimMode=link, as that is the behavior Xamarin developers get today.

As explained in the issue that code is now dead because it's exactly what sdk does for everyone (see https://github.com/dotnet/sdk/blob/main/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.ILLink.targets#L193)

@jonathanpeppers
Copy link
Member Author

As explained in the issue that code is now dead because

I see now @marek-safar, thanks. I'll remove TrimMode=link when I fix: #5856

@github-actions github-actions bot locked and limited conversation to collaborators Jan 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update linker defaults for .NET 6

3 participants