If I run dotnet ef add testmigration
dotnet ef add testmigration
I get this warning: The EF Core tools version \'2.1.0-rtm-30799\' is older than that of the runtime \'2.1.1-r
The EF Core tools version \'2.1.0-rtm-30799\' is older than that of the runtime \'2.1.1-r
I was having this exact problem. I tried deleting bin folders and rebuilding as others have suggested but that never worked. Finally I updated the SDK to 2.1.403 and the issue was resolved.