Skip to content

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

Closed
@jonathanpeppers

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

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions