Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make NCronJob native AOT ready #54

Open
linkdotnet opened this issue May 15, 2024 · 0 comments
Open

Make NCronJob native AOT ready #54

linkdotnet opened this issue May 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@linkdotnet
Copy link
Member

Currently, NCronJob is not native AOT ready. That might be a less ideal choice for folks who run this library in the cloud and try to minimize the footprint.

There is a nice article from Microsoft itself: https://devblogs.microsoft.com/dotnet/creating-aot-compatible-libraries/

Basically what we want is:

  1. Add the analyzers:
<PropertyGroup>
    <IsAotCompatible>true</IsAotCompatible>
</PropertyGroup>
  1. Fix all errors
  2. Create a new sample with native aot and publish the app and check if it is still doing its thing.
@linkdotnet linkdotnet added the enhancement New feature or request label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant