C#C
C#8mo ago
Jorjo

dotnet ef migrations add init returns: 'Unable to retrieve project metadata.'

Just what it sounds like in the title, ef is being difficult and won't make a migrations folder which I need in order to test with. My installed sdks are 8.0.100, 8.0.405 and 9.0.203. I am on Arch Linux but installed these through the install script from microsoft. As for EF Tools I'm using version 9.0.0 but have also tried 9.0.2 and 9.0.4, neither worked and the same error is returned each time. I have tried running the command with --msbuildprojectextensionspath and it yielded the same result. I'm getting kind of hopeless, I've never before experienced this kind of error and migrations have worked just fine in other projects. Any help is greatly appreciated.
image.png
Was this page helpful?