dotnet / efcore

EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
https://docs.microsoft.com/ef/
MIT License
13.51k stars 3.13k forks source link

NativeAOT support #29754

Open roji opened 1 year ago

roji commented 1 year ago

This is a grouping of related issues. Feel free to vote (👍) for this issue to indicate that this is an area that you think we should spend time on, but consider also voting for individual issues for things you consider especially important.


Critical

Query

Other

Out of scope for EF9

jeswin commented 1 year ago

I know this is tagged 'consider-for-current-release'. But just to confirm, the plan is to ship it with .Net 8 right?

Upvoted. This is the last major piece required to get native code web apps working without losing out on productivity.

roji commented 1 year ago

@jeswin the plan is still to ship experimental support, but it's not yet clear what we'll manage to complete before the work window for 8.0 closes.

jeswin commented 1 year ago

Thanks for the update.

JOULTICOA commented 11 months ago

I opened issue here but maybe that was wrong spot https://github.com/dotnet/core/issues/8704 @roji

I see in issue https://github.com/dotnet/efcore/issues/29725 some people said it was now working. I can't seem to get the Microsoft.Data.SQLite to work with AOT publish. is there a certain version I should try?

Thank you!

roji commented 10 months ago

@JOULTICOA can you please open a new issue in this repo (not dotnet/core), with the exact versions and full error(s) that you're seeing? Ideally, with a minimal code sample as well.