© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•14mo ago•
7 replies
morry329#

Unable to create an object of type 'JsonContext'

I have fought this error for about an hour and finally gave up - would like a second set of eyes.

I wanted to use
dotnet ef migrations add InitialCreate
dotnet ef migrations add InitialCreate
which prompted this error

Could you kindly point me in the right direction?
https://pastebin.com/GuxUApaW
Pastebin
The full error message:(base) MacBook-Pro-2:CRUDOnepager_Sample ann...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Unable to create an object of type 'UnitOfWork'. [Answered]
C#CC# / help
4y ago
InvalidCastException: Unable to cast object of type
C#CC# / help
13mo ago
Unable to create an object of type 'DBCSDBContext'. For the different patterns supported at design t
C#CC# / help
3y ago
✅ Unable to create a 'DbContext' of type 'ApplicationDbContext'.
C#CC# / help
6mo ago