© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
2y ago
•
14 replies
gio735
EF-Core unable to create migration
I
'm trying to crate migration
, but every single time I get this error
. Startup project is set and in package manager project with
DbContext
DbContext
is selected too
. Haven
't changed anything significant that I could think of since last migration
.
DbContext
https://codeshare.io/k0zVX3
Method to add DbContext
https://codeshare.io/0bPKZl
Program class
https://codeshare.io/g8M7kR
(didn
't copy fully since rest is not related to database
)
AddServices
(
)
https://codeshare.io/MkwOKQ
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Migration issues -EF core.
C
C# / help
16mo ago
❔ EF Core migrations
C
C# / help
4y ago
❔ EF Core Add Migration issue
C
C# / help
4y ago
✅ Adding EF Core Migration Error
C
C# / help
4y ago