C
C#6d 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)
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?
6 Replies
ffmpeg -i me -f null -
make sure everything is the same version, and that there are no warnings
Sticky
Sticky6d ago
no real warnings that affect the code it seems only some mutable nullable warnings can it be cross project incompatiblity? it was that smh i always forget that this time i didnt see a lib was depreciated at 3.0.5 ty
ffmpeg -i me -f null -
but still there should be a warning for this
Sticky
Sticky6d ago
it was depricated but i downloaded 8.x versions of helper libs for it so i guess that was the issue no errors were there
Unknown User
Unknown User6d ago
Message Not Public
Sign In & Join Server To View
Sticky
Sticky6d ago
İ simply forgot to close it, the kssue was what ffmeg said