C#C
C#2y ago
Sticky

✅ I cannot create a database

It occurs when i try to run my website project or do "add-migration" to create a database.
MissingMethodException: Method not found: 'Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder`1<!!0> Microsoft.EntityFrameworkCore.RelationalIndexBuilderExtensions.HasName(Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder`1<!!0>, System.String)'.

Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserContext<TUser, TKey, TUserClaim, TUserLogin, TUserToken>+<>c__DisplayClass20_0.<OnModelCreating>b__0(EntityTypeBuilder<TUser> b)


What am i supposed to do at this point?
Was this page helpful?