Skip to content

[Feature]: Add Native-AOT support. #262

@TeseySTD

Description

@TeseySTD

Feature Description

Add Ahead-Of-Time compilation support to RazorConsole.Core package.

Problem Statement

In console apps performance and especially startup-time are very important so it will be good to have AOT, even if it will be the experimental feature.

Proposed Solution

Make some DynamicallyAccessedMembers annotations where it is necessary, remove or protect all 'danger zones` where reflection is used.

Alternatives Considered

I understand that this feature can be unstable, but because of dev needs I think even in that case we can make it experimental.

Additional Context

No response

Contribution

  • I'd be willing to contribute this feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions