dotnet CLI & EF Core Migrations

I was setting this up recently (was trying to do “dotnet ef database update” to be specific) and kept getting the message at the command line that the executable couldn’t be found. I’d googled a bit and determined that I’d not actually installed dotnet-ef (previously it came with the SDK by default). After installing so, I continued to get the error. Googled some more, and came back with the idea that I needed to close my CLI out and open a fresh one. Nope. No love. Eventually I figured I’d try to close my entire IDE out and re-open and try then. that worked! Lesson learned… good old fashion “reboot” still does the trick sometimes!

Leave a Reply

Your email address will not be published. Required fields are marked *