❔ ✅ Can't find System.Data.Entity to build a dbContext after installing the EntityFrameWork Package
For a project I'm working on I need to be using the entity framework to add migrations to a postgresql database. I am quite new to C# and Rider as such I think I might have made a small mistake somewhere else as this issue is not being referenced in any of the tutorials I've watched up until now. I thought that perhaps someone here might have run into a similar issue?
23 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
It is, I made it about 2 hours ago to get familiar with the EntityFramework
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I see, thanks!
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
The newest version of .Net framework available in my Rider IDEA is v4.8, would that be adequate?
I see, I'll keep I'll try using core instead 🙂
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
It seems core doesn't install correctly right now so I'll look into that
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I installed it just now and rebooted my laptop, It still does not show up in the options :/
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Oh wait it needs to be a .net core project doesn't it 🤦♂️
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Technically .NET Core is wrong.
Core
was stripped starting .NET 5
So you should choose .NET 6 or 7, since those are still supported (and .NET 6 is an LTS version, meaning longer support)Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I was about to message that, yeah
.NET has been really weird with naming, but they are getting the hang of it
For some reason EntityFramework is still a Core variant, but I assume this will be changed at some point too
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Its compiling now, Thank you guys so much for the help 🙂 !!
Am I supposed to delete this discussion after it has been resolved?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
awesome, thanks
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.