Unable to cast object of type 'Microsoft.EntityFrameworkCore.Infrastructure.Annotation' to type 'Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation' #24658
Labels
area-model-building
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-bug
Milestone
I'm getting this exception when performing the dbscaffold context command in the package manager console using Entity Framework Core 6.0.0-preview.3.21201.2
Build started...
Build succeeded.
To protect potentially sensitive information in your connection string, you should move it out of source code. You can avoid scaffolding the connection string by using the Name= syntax to read it from configuration - see https://go.microsoft.com/fwlink/?linkid=2131148. For more guidance on storing connection strings, see http://go.microsoft.com/fwlink/?LinkId=723263.
Unable to cast object of type 'Microsoft.EntityFrameworkCore.Infrastructure.Annotation' to type 'Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation'.
The text was updated successfully, but these errors were encountered: