Hi everyone,
I’ve been going through Microsoft’s eShopOnContainers repo and replicating it as a small test project to learn microservices. While adding the WebHost Customization project I ran into the following error:
Error CS1061 ‘DatabaseFacade’ does not contain a definition for ‘Migrate’ and no accessible extension method ‘Migrate’ accepting a first argument of type ‘DatabaseFacade’ could be found (are you missing a using directive or an assembly reference?) WebHost.Customization … N/A
This turned out to be a fairly simple fix. All that’s required is the following package (I installed via Nuget):
Thanks to the following stackoverflow post for the info: https://stackoverflow.com/a/57606203/522859