71 Replies
Is your system 64-bit or 32-bit?
it seems likely you installed the wrong SDK version, but yeah, what OS are you using?
I can see the win 11 logo
or smth..
uh
ok, so you have windows 11, thats a 64 bit OS
you should use the 64 bit SDK
lets confirm, so open a terminal and type
dotnet --info
it trying to target x86 with a x64 dev kit, I'm confused
thats not how I interpret that message
I think you have the x86 SDK installed, and devkit requires x64
Uh, are you the OP to begin with...?
nay
lol
We await The Silent One, then
@Erik wake up
64
64
Oh heyyy, you're awake, nice!
Did you install the 63-bit SDK or the 32-bit one?
dotnet --list-sdks
will tell youyes
open a terminal/command prompt and type
dotnet --info
pleaseyesss
I installed it but it didn't work
listen
dotnet --info
in a terminal
fooocusssAnd he went to sleep again
x86 host, no SDKs installed, no other architectures found
okay, lets check if its the infamous TeBe bug
open up a file explorer and go to
C:\Program Files\
NOT (x86)
check if there is a dotnet
folder there64
okeyeyy
soryyy
okay, open that dotnet folder
is there a
dotnet.exe
there?Yes there is
okay, then its a confirmed case of the TeBe
because you have both dotnet hosts installed (x86 AND x64) and the x86 was installed first, its "blocking" the correct one from running due to PATH priority
so we're gonna adjust that path priority
we need to edit your system environment variables
let's do
search for "environment variables" on the windows start panel
should look like this
but in your language
do not send friend requests
soryy
yesss
yes
that big button in the bottom right
click that
yes
then find the blue line in the bottom list
the one called "Path"
click the middle button ("edit")
yep, thats the one
yes
show me the new screen
perfect
see that bottom one?
click that, then click "Yukari Tasi"
yes
we want to move it up one step
so its above the x86 one
okay that was.. overkill :p
but sure
soryyy
it just needs to be above the x86 dotnet one
so move it down beneatht eh "system32" ones
okkeyyy
just to be safe
perfect
now press "ok" until all the system windows are closed
ookkeyy
then, close down VS and all open terminals
To close
Does the computer need to be restarted?
no
just shut down VS and all open terminal windows
when thats done, start a new terminal window and type
dotnet --info
againthere we go
it worked
WOOOWWWW
THANKYOUUUUU
THANK YOU VERY MUCH
yw
We should make the solution into a tag lol
there is a tag for it
$dotnetpath
* Open
powershell
in a terminal in admin mode as in the following video:
https://cdn.discordapp.com/attachments/569261465463160900/1157744344183341156/20230930-1822-10.7436061.mp4
* copy/paste the following script
* it will tell you if it detects invalid Path
setup
* Press Enter to confirm
but its scary 😄
also, its straight up replaces the x86 installation instead of shifting them around
and requires admin mode powershell etc
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.