Search
Get Started
C
C#
•
3y ago
Erik
❔ c# DOTNET error
Can you help me
? what should I do
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,010
Members
View on Discord
Was this page helpful?
Yes
No
A
Angius
•
10/21/23, 7:36 AM
Is your system 64
-bit or 32
-bit
?
P
Pobiega
•
10/21/23, 7:42 AM
it seems likely you installed the wrong SDK version
, but yeah
, what OS are you using
?
N
nnaaaa
•
10/21/23, 8:12 AM
I can see the win 11 logo
N
nnaaaa
•
10/21/23, 8:13 AM
or smth
.
.
N
nnaaaa
•
10/21/23, 8:13 AM
uh
P
Pobiega
•
10/21/23, 8:13 AM
ok
, so you have windows 11
, thats a 64 bit OS
P
Pobiega
•
10/21/23, 8:13 AM
you should use the 64 bit SDK
P
Pobiega
•
10/21/23, 8:13 AM
lets confirm
, so open a terminal and type
dotnet --info
dotnet --info
N
nnaaaa
•
10/21/23, 8:14 AM
it trying to target x86 with a x64 dev kit
, I
'm confused
P
Pobiega
•
10/21/23, 8:15 AM
thats not how I interpret that message
P
Pobiega
•
10/21/23, 8:15 AM
I think you have the x86 SDK installed
, and devkit requires x64
A
Angius
•
10/21/23, 8:15 AM
Uh
, are you the OP to begin with
.
.
.
?
N
nnaaaa
•
10/21/23, 8:15 AM
nay
P
Pobiega
•
10/21/23, 8:15 AM
lol
A
Angius
•
10/21/23, 8:15 AM
We await The Silent One
, then
P
Pobiega
•
10/21/23, 8:16 AM
@Erik wake up
A
Angius
•
10/21/23, 8:19 AM
https://tenor.com/view/dog-snoring-sleeping-meekotheiggy-knocked-out-gif-23834780
Tenor
A
Angius
Is your system 64-bit or 32-bit?
E
Erik
OP
•
10/21/23, 8:31 AM
64
P
Pobiega
it seems likely you installed the wrong SDK version, but yeah, what OS are you u...
E
Erik
OP
•
10/21/23, 8:31 AM
64
A
Angius
•
10/21/23, 8:31 AM
Oh heyyy
, you
're awake
, nice
!
A
Angius
•
10/21/23, 8:32 AM
Did you install the 63
-bit SDK or the 32
-bit one
?
A
Angius
•
10/21/23, 8:32 AM
will tell you
E
Erik
OP
•
10/21/23, 8:32 AM
N
nnaaaa
I can see the win 11 logo
E
Erik
OP
•
10/21/23, 8:32 AM
yes
P
Pobiega
•
10/21/23, 8:32 AM
open a terminal
/command prompt and type
dotnet --info
dotnet --info
please
P
Pobiega
ok, so you have windows 11, thats a 64 bit OS
E
Erik
OP
•
10/21/23, 8:33 AM
yesss
P
Pobiega
you should use the 64 bit SDK
E
Erik
OP
•
10/21/23, 8:34 AM
I installed it but it didn
't work
P
Pobiega
•
10/21/23, 8:34 AM
listen
P
Pobiega
•
10/21/23, 8:34 AM
dotnet --info
dotnet --info
in a terminal
P
Pobiega
•
10/21/23, 8:34 AM
fooocusss
A
Angius
•
10/21/23, 8:36 AM
And he went to sleep again
P
Pobiega
lets confirm, so open a terminal and type `dotnet --info`
E
Erik
OP
•
10/21/23, 8:37 AM
P
Pobiega
•
10/21/23, 8:38 AM
x86 host
, no SDKs installed
, no other architectures found
P
Pobiega
•
10/21/23, 8:38 AM
okay
, lets check if its the infamous TeBe bug
P
Pobiega
•
10/21/23, 8:38 AM
open up a file explorer and go to
P
Pobiega
•
10/21/23, 8:38 AM
NOT
(x86
)
P
Pobiega
•
10/21/23, 8:38 AM
check if there is a
dotnet
dotnet
folder there
A
Angius
Did you install the 63-bit SDK or the 32-bit one?
E
Erik
OP
•
10/21/23, 8:39 AM
64
P
Pobiega
open up a file explorer and go to `C:\Program Files\`
E
Erik
OP
•
10/21/23, 8:40 AM
okeyeyy
P
Pobiega
open up a file explorer and go to `C:\Program Files\`
E
Erik
OP
•
10/21/23, 8:41 AM
P
Pobiega
•
10/21/23, 8:42 AM
E
Erik
OP
•
10/21/23, 8:42 AM
soryyy
E
Erik
OP
•
10/21/23, 8:42 AM
P
Pobiega
•
10/21/23, 8:42 AM
okay
, open that dotnet folder
P
Pobiega
•
10/21/23, 8:43 AM
is there a
there
?
E
Erik
OP
•
10/21/23, 8:43 AM
Yes there is
E
Erik
OP
•
10/21/23, 8:44 AM
P
Pobiega
•
10/21/23, 8:44 AM
okay
, then its a confirmed case of the TeBe
P
Pobiega
•
10/21/23, 8:45 AM
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
P
Pobiega
•
10/21/23, 8:45 AM
so we
're gonna adjust that path priority
Next page
dotnet --list-sdks
dotnet --list-sdks
C:\Program Files\
C:\Program Files\
dotnet.exe
dotnet.exe