specifying the project where is migration was found dotnet ef remove code example
Example: how to remove last migration in ef core
* CLI
dotnet ef migrations remove
*Package Manager Console
PM> Remove-Migration
* CLI
dotnet ef migrations remove
*Package Manager Console
PM> Remove-Migration