Skip to content
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] Add ILC compilation test of all assemblies #22328

Merged
merged 7 commits into from May 21, 2024

Conversation

simonrozsival
Copy link
Member

Description of Change

This PR adds a test following this guide: https://devblogs.microsoft.com/dotnet/creating-aot-compatible-libraries/#publishing-a-test-application-for-aot

The rest of the changes are warnings that were discovered via ILC but were not reported by the trimming and AOT analyzers.

/cc @sbomer

Issues Fixed

Fixes #22310

@simonrozsival simonrozsival marked this pull request as ready for review May 10, 2024 12:42
@simonrozsival simonrozsival requested a review from a team as a code owner May 10, 2024 12:42
{
result = (Effect)DependencyResolver.ResolveOrCreate(effectType);
result = (Effect)DependencyResolver.ResolveOrCreate(effectType.Type);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This missing analyzer warning is tracked by dotnet/runtime#101734.

@Eilon Eilon added the area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) label May 11, 2024
@rmarinho rmarinho merged commit 65c89dc into dotnet:net9.0 May 21, 2024
48 checks passed
@simonrozsival simonrozsival deleted the add-full-ilc-compilation-test branch May 21, 2024 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants