I am adding a new migration but this message shows:
Unable to generate an explicit migration because the following explicit migrations are pending:
This isn't going to be the answer for many people, but EF will chuck this error when it can't connect to the DB. If you're working from home like I am, make sure you're still connected to your VPN!