-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Milestone
Description
EF Core 7.0 (and earlier) has the following NavigationEntry.LoadAsync(...) API:
| public abstract Task LoadAsync(CancellationToken cancellationToken = default); |
This API was removed in EF Core 8.0 (without being obsoleted first, BTW...) and replaced by:
| public abstract Task LoadAsync(LoadOptions options = LoadOptions.None, CancellationToken cancellationToken = default); |
The signature has changed in a breaking way (an optional parameter has been added), which causes MemberMissingExceptions when referencing EF Core 8.0 in a project that has dependencies built against EF Core 7.0 (or earlier).
System.MissingMethodException : 'Method not found: 'System.Threading.Tasks.Task Microsoft.EntityFrameworkCore.ChangeTracking.NavigationEntry.LoadAsync(System.Threading.CancellationToken)'.'
Since it was requested by @roji, I attached a simple repro.
(it's very likely other APIs - like Load - have the same issue)
Reactions are currently unavailable