Youssef M
Entity Framework Core can't create a migration
Hello fam, I'm encountering an issue when trying to run an Entity Framework Core migration (Microsoft.EntityFrameworkCore 8.0.1).
The error is:
Error MSB4057: The target "GetEFProjectMetadata" does not exist in the project. Unable to retrieve project metadata. Ensure it's an MSBuild-based .NET Core project. If you're using custom BaseIntermediateOutputPath or MSBuildProjectExtensionsPath values, Use the --msbuildprojectextensionspath option.
I've run migrations successfully before with the same configuration, and the only changes I made were to my entity classes; I haven't modified any path values.
The command I'm using to run the migration is:
dotnet ef migrations add CustomerEntityUpdate -p X -s Y
1 replies