Archive

Showing posts from April 2026.

MissingMethodException when adding a migration in EF Core

MissingMethodException when adding a migration in EF Core

I have a Blazor app that I've been developing for a while, and wanted to add a migration. Done this plenty of times before, so didn't expect anything unusual.

Instead of the usual success, I saw the following exception... The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: System.Management.Automation.RemoteException.

No, I didn't know what that meant either! Now I do, and if you read my ramblings, you will as well.