-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Trimming] Enable trimming and AOT analyzers #21505
Conversation
@Eilon or someone in @dotnet/dotnet-maui-blazor-eng care to review? This ignores a trimmer warning in WinForms/WPF BlazorWebView, but we filed an issue for the future at: |
I'm reviewing. If we take the change in #21797, does this PR need to change at all? (I think the change in #21797 is good, but I want to test locally first) |
This PR doesn't need to change if #21797 goes in. The warning suppressed here is around |
Description of Change
This PR enables trimming, AOT, and single file analyzers to assemblies where it doesn't require any changes. For Essentials.csproj and Compatibility.csproj I changed IsTrimmable to IsAotCompatible.
The only projects that don't have the analyzers enabled yet are:
I'm also skipping adding analyzers to:
Issues Fixed
Contributes to #18658