C
C#2y ago
Ivar

❔ ✅ 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
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Ivar
IvarOP2y ago
It is, I made it about 2 hours ago to get familiar with the EntityFramework
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Ivar
IvarOP2y ago
I see, thanks!
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Ivar
IvarOP2y ago
The newest version of .Net framework available in my Rider IDEA is v4.8, would that be adequate?
Ivar
IvarOP2y ago
I see, I'll keep I'll try using core instead 🙂
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Ivar
IvarOP2y ago
It seems core doesn't install correctly right now so I'll look into that
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Ivar
IvarOP2y ago
I installed it just now and rebooted my laptop, It still does not show up in the options :/
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Ivar
IvarOP2y ago
Oh wait it needs to be a .net core project doesn't it 🤦‍♂️
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
FusedQyou
FusedQyou2y ago
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
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
FusedQyou
FusedQyou2y ago
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
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Ivar
IvarOP2y ago
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
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Ivar
IvarOP2y ago
awesome, thanks
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Accord
Accord2y ago
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.
Want results from more Discord servers?
Add your server