I have strange behavior with EF Core tools in developer PowerShell in VS2019.
After creating migration with this command:
dotnet ef migrations add VisibleLink -p .\src\Only.Portal.Data\ -s .\src\Only.Portal.Web
And it is causing to start my app, but previously it didn't. The method to apply last migrations, which causes dotnet ef migrations remove fully broken, because when using it, it firstly starts an app and then calls `Migrate().
Then I am getting a message:
The migration '20220128090939_VisibleLink' has already been applied to the database. Revert it and try again. If the migration has been applied to other databases, consider reverting its changes using a new migration instead
Looks like dead end loop.