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