[EF Core 6] Method not found: 'Int64 RelationalExtensionInfo.GetServiceProviderHashCode()'.
Posted: Thu 28 Oct 2021 08:34
Hi,
after upgrading to .NET 6 im getting this error:
on constructor:
i know that EF Core 6 is not yet officialy supported, but maybe do you have any idea how to fix this error?
More info: https://github.com/dotnet/efcore/issues/26022
after upgrading to .NET 6 im getting this error:
Code: Select all
An exception of type 'System.MissingMethodException' occurred in Microsoft.EntityFrameworkCore.dll but was not handled in user code
Method not found: 'Int64 RelationalExtensionInfo.GetServiceProviderHashCode()'.
Code: Select all
{
public partial class ApplicationDbContext : IdentityDbContext<ApplicationUser, ApplicationRole, int>
{
public ApplicationDbContext(DbContextOptions options) : base(options)
{
}
}
i know that EF Core 6 is not yet officialy supported, but maybe do you have any idea how to fix this error?
More info: https://github.com/dotnet/efcore/issues/26022