Skip to content

[dotnet] default $(SuppressTrimAnalysisWarnings) to true - #10970

Merged
jonathanpeppers merged 2 commits into
dotnet:mainfrom
jonathanpeppers:suppresstrimanalysiswarnings
Mar 26, 2021
Merged

[dotnet] default $(SuppressTrimAnalysisWarnings) to true#10970
jonathanpeppers merged 2 commits into
dotnet:mainfrom
jonathanpeppers:suppresstrimanalysiswarnings

Conversation

@jonathanpeppers

Copy link
Copy Markdown
Member

Fixes: #10887

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#10887

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.
@dalexsoto dalexsoto added this to the .NET 6 milestone Mar 25, 2021
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 Tests failed catastrophically on Build (no summary found). 🔥

Result file $(TEST_SUMMARY_PATH) not found.

Pipeline on Agent

@jonathanpeppers

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 Tests failed catastrophically on Build (no summary found). 🔥

Result file $(TEST_SUMMARY_PATH) not found.

Pipeline on Agent

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ Tests passed on Build. ✅

Tests passed on Build.

API diff

✅ API Diff from stable

View API diff

🎉 All 182 tests passed 🎉

Pipeline on Agent XAMBOT-1099'

@jonathanpeppers
jonathanpeppers merged commit 7bf3e8d into dotnet:main Mar 26, 2021
@jonathanpeppers
jonathanpeppers deleted the suppresstrimanalysiswarnings branch March 26, 2021 18:50
tj-devel709 pushed a commit that referenced this pull request Apr 7, 2021
Fixes: #10887

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

not-notes-worthy Ignore for release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update linker defaults for .NET 6

5 participants