C
C#•2y ago
justaeris

Can't install EF core tools [Answered]

Anyone knows what's up with my dotnet ?
60 Replies
333fred
333fred•2y ago
What does dotnet --list-sdks say?
justaeris
justaeris•2y 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•2y ago
Hmm
justaeris
justaeris•2y ago
I ain't seeing something wrong
333fred
333fred•2y ago
Is there any reason you have the 5.0 SDKs installed?
justaeris
justaeris•2y ago
huh good question I think I made some stuff with it
333fred
333fred•2y ago
I would suggest removing them. They're out of support
justaeris
justaeris•2y ago
should I unistall it ? 5 is out of support ????, yo fr tho didn't know that
333fred
333fred•2y ago
Yes
333fred
333fred•2y 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
justaeris•2y ago
why is that so and why 3.1 is on lts ?
333fred
333fred•2y ago
Every other release is LTS 3.1 was, 5 is not, 6 is, 7 is not, 8 is...
justaeris
justaeris•2y ago
7 won't get LTS ?
333fred
333fred•2y ago
Correct.
justaeris
justaeris•2y ago
wha.. ???
333fred
333fred•2y ago
This has been the public schedule for several years now 🙂
justaeris
justaeris•2y ago
bro how tf have I just learned that now 💀
justaeris
justaeris•2y ago
Imgur
justaeris
justaeris•2y ago
should I also remove old net 6 versions ?
333fred
333fred•2y ago
You could, but I'm not sure what's going on there
justaeris
justaeris•2y ago
oh you're working at MS, just noticed lol yeah I don't know either
333fred
333fred•2y ago
What does dotnet --info show? And do you have an x86 runtime installed?
justaeris
justaeris•2y ago
does that include framework ?
333fred
333fred•2y ago
No
justaeris
justaeris•2y ago
nope, only x64
333fred
333fred•2y ago
I suspect you do
333fred
333fred•2y ago
Note I'm saying runtime Not SDK
justaeris
justaeris•2y ago
how may I check so ? ahhh we found the culprit
333fred
333fred•2y ago
Yup, there it is
justaeris
justaeris•2y ago
ouuuuu
333fred
333fred•2y ago
Yeah, my guess is it's finding the x86 version that you don't have an SDK for
justaeris
justaeris•2y ago
should I uninstall both this and the x86 above ?
333fred
333fred•2y ago
Yes
justaeris
justaeris•2y ago
gonna uninstall every net 5 thing anyway
justaeris
justaeris•2y ago
333fred
333fred•2y ago
You still have something
justaeris
justaeris•2y ago
this is everything program contaning x86 in their name https://i.imgur.com/6mXtMX7.png
Imgur
333fred
333fred•2y ago
Maybe try a restart?
justaeris
justaeris•2y ago
good call lol
justaeris
justaeris•2y ago
after restarting and clearing temporary files
333fred
333fred•2y ago
Damn. I'm not sure at this point
justaeris
justaeris•2y ago
yeah this is really weird
justaeris
justaeris•2y ago
justaeris
justaeris•2y ago
this might be worth investigating because it's kinda annoying :/
333fred
333fred•2y ago
I guess the next thing I would try is reinstalling .NET 6
333fred
333fred•2y 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•2y ago
does install it as a local tool work? probably won't make a difference, but
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
justaeris
justaeris•2y ago
should I try that
justaeris
justaeris•2y ago
thanks @Orannis
Accord
Accord•2y ago
✅ This post has been marked as answered!