Skip to content
This repository was archived by the owner on Aug 27, 2026. It is now read-only.
This repository was archived by the owner on Aug 27, 2026. It is now read-only.

Enable IsAotCompatible=true, to identify trimmer warnings in Java.Interop.dll #1157

Description

@jonathanpeppers

As one of the prerequisites for supporting NativeAOT, we should solve all the trim warnings in this repo.

For details, see:

As an initial step, we could try enabling IsAotCompatible in this repo, this implicitly sets:

  • IsTrimmable
  • EnableTrimAnalyzer
  • EnableAotAnalyzer
  • EnableSingleFileAnalyzer

Then we'd want to address all the warnings and potentially make trimmer warnings build errors? FYI @jonpryor

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementProposed change to current functionalityjava-interopRuntime bridge between .NET and Java

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions