C
C#•3y ago
justaeris

Can't install EF core tools [Answered]

Anyone knows what's up with my dotnet ?
60 Replies
333fred
333fred•3y ago
What does dotnet --list-sdks say?
justaeris
justaerisOP•3y ago
C:\Users\matth>dotnet --list-sdks
3.1.417 [C:\Program Files\dotnet\sdk]
5.0.104 [C:\Program Files\dotnet\sdk]
5.0.303 [C:\Program Files\dotnet\sdk]
5.0.406 [C:\Program Files\dotnet\sdk]
6.0.102 [C:\Program Files\dotnet\sdk]
6.0.302 [C:\Program Files\dotnet\sdk]
6.0.400 [C:\Program Files\dotnet\sdk]
C:\Users\matth>dotnet --list-sdks
3.1.417 [C:\Program Files\dotnet\sdk]
5.0.104 [C:\Program Files\dotnet\sdk]
5.0.303 [C:\Program Files\dotnet\sdk]
5.0.406 [C:\Program Files\dotnet\sdk]
6.0.102 [C:\Program Files\dotnet\sdk]
6.0.302 [C:\Program Files\dotnet\sdk]
6.0.400 [C:\Program Files\dotnet\sdk]
333fred
333fred•3y ago
Hmm
justaeris
justaerisOP•3y ago
I ain't seeing something wrong
333fred
333fred•3y ago
Is there any reason you have the 5.0 SDKs installed?
justaeris
justaerisOP•3y ago
huh good question I think I made some stuff with it
333fred
333fred•3y ago
I would suggest removing them. They're out of support
justaeris
justaerisOP•3y ago
should I unistall it ? 5 is out of support ????, yo fr tho didn't know that
333fred
333fred•3y ago
Yes
333fred
333fred•3y ago
.NET Blog
.NET 5.0 will reach End of Support on May 10, 2022
.NET 5.0 will reach end of support on May 08, 2022, this blog breaks down all the valuable information you need to know and how to update to .NET 6.0.
justaeris
justaerisOP•3y ago
why is that so and why 3.1 is on lts ?
333fred
333fred•3y ago
Every other release is LTS 3.1 was, 5 is not, 6 is, 7 is not, 8 is...
justaeris
justaerisOP•3y ago
7 won't get LTS ?
333fred
333fred•3y ago
Correct.
justaeris
justaerisOP•3y ago
wha.. ???
333fred
333fred•3y ago
This has been the public schedule for several years now 🙂
justaeris
justaerisOP•3y ago
bro how tf have I just learned that now 💀
justaeris
justaerisOP•3y ago
Imgur
justaeris
justaerisOP•3y ago
should I also remove old net 6 versions ?
333fred
333fred•3y ago
You could, but I'm not sure what's going on there
justaeris
justaerisOP•3y ago
oh you're working at MS, just noticed lol yeah I don't know either
333fred
333fred•3y ago
What does dotnet --info show? And do you have an x86 runtime installed?
justaeris
justaerisOP•3y ago
justaeris
justaerisOP•3y ago
does that include framework ?
333fred
333fred•3y ago
No
justaeris
justaerisOP•3y ago
nope, only x64
333fred
333fred•3y ago
I suspect you do
333fred
333fred•3y ago
Note I'm saying runtime Not SDK
justaeris
justaerisOP•3y ago
how may I check so ? ahhh we found the culprit
333fred
333fred•3y ago
Yup, there it is
justaeris
justaerisOP•3y ago
ouuuuu
333fred
333fred•3y ago
Yeah, my guess is it's finding the x86 version that you don't have an SDK for
justaeris
justaerisOP•3y ago
should I uninstall both this and the x86 above ?
333fred
333fred•3y ago
Yes
justaeris
justaerisOP•3y ago
gonna uninstall every net 5 thing anyway
justaeris
justaerisOP•3y ago
333fred
333fred•3y ago
You still have something
justaeris
justaerisOP•3y ago
this is everything program contaning x86 in their name https://i.imgur.com/6mXtMX7.png
Imgur
333fred
333fred•3y ago
Maybe try a restart?
justaeris
justaerisOP•3y ago
good call lol
justaeris
justaerisOP•3y ago
after restarting and clearing temporary files
333fred
333fred•3y ago
Damn. I'm not sure at this point
justaeris
justaerisOP•3y ago
yeah this is really weird
justaeris
justaerisOP•3y ago
justaeris
justaerisOP•3y ago
this might be worth investigating because it's kinda annoying :/
333fred
333fred•3y ago
I guess the next thing I would try is reinstalling .NET 6
333fred
333fred•3y ago
GitHub
.NET6 - MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be...
.NET6 - MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found Describe the bug After installing .NET6 on Windows Server 2016 every project that I try to build on that ma...
jcotton42
jcotton42•3y ago
does install it as a local tool work? probably won't make a difference, but
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
justaeris
justaerisOP•3y ago
should I try that
justaeris
justaerisOP•3y ago
thanks @Orannis
Accord
Accord•3y ago
✅ This post has been marked as answered!
Want results from more Discord servers?
Add your server