0
votes

I installed all necessary packages, but after making first migration

dotnet ef migrations add InitialMigration

I got error CS0234 The type or namespace name 'EntityFrameworkCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

Then I reinstalled Microsoft.EntityFrameworkCore and everything was fine, zero errors in editor, but after trying to make migration again I got the same error.

enter image description here

How to fix this?

1

1 Answers

0
votes

I fixed it by installing other versions of EntityFrameworkCore. packages (3.1.10 - 3.1.11)