Skip to content
This repository was archived by the owner on Jul 6, 2026. It is now read-only.
This repository was archived by the owner on Jul 6, 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

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions