Skip to content

Add Trimming/AOT Support #95

@7H3LaughingMan

Description

@7H3LaughingMan

It would be nice if the project was marked as being trimmable and AOT compatible. Using the IsAotCompatible project property will also mark it as being trimmable and enable the necessary analyzers to ensure the library is compatible with Native AOT.

Here are some articles talking about the incompatibilities of trimming and also the limitations of Native AOT deployment.

https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/incompatibilities
https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot

Since the project is using it's own serialization it would require some minor changes, mostly just notating anything that uses Reflection with the proper attributes this way they provide warnings to use something else in these cases.

This is being created for #90 so it can be researched further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions