C
C#7mo ago
AngieFoxx

✅ .NET sdk not working

So, I've installed the .NET sdk and did what I was told, but it's still not being detected by vscode, commands like 'dotnet --version' don't work I've had this issue many times before trying to setup C#, and I've never solved it, it's kept me from learning the programming language for longer than I expected and I really would like help fixing it
81 Replies
reflectronic
reflectronic7mo ago
if you open a new cmd window (like, outside of VS Code), does it work
AngieFoxx
AngieFoxxOP7mo ago
I did that and no it did not work So I ran the installer again and chose repair Relaunched vscode a second ago and re-entefed the command It worked
AngieFoxx
AngieFoxxOP7mo ago
2 years and I can finally start programminnn
reflectronic
reflectronic7mo ago
well i don't know what happened but i am glad it's working
AngieFoxx
AngieFoxxOP7mo ago
I may still need a bit more help setting up tho
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
AngieFoxx
AngieFoxxOP7mo ago
:CH_PepeDead:
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
AngieFoxx
AngieFoxxOP7mo ago
For uh, for the C# Dev Kit 'solution folder' setup Am I supposed to create a new folder? And use it for that Or wha
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
AngieFoxx
AngieFoxxOP7mo ago
Okay
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
AngieFoxx
AngieFoxxOP7mo ago
I'm confused now :CH_Stressed: So I created the solutions folder
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
AngieFoxx
AngieFoxxOP7mo ago
It's in the ;vscode folder, alongside cli and extensions
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
AngieFoxx
AngieFoxxOP7mo ago
.vscode*
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
AngieFoxx
AngieFoxxOP7mo ago
Sure, lemme do that
AngieFoxx
AngieFoxxOP7mo ago
No description
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
AngieFoxx
AngieFoxxOP7mo ago
Mhm Im smol brained
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
AngieFoxx
AngieFoxxOP7mo ago
I don't have that shown, I have folders open
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
AngieFoxx
AngieFoxxOP7mo ago
No description
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
AngieFoxx
AngieFoxxOP7mo ago
Im still confused 😭 Have I done anything wrong?
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
AngieFoxx
AngieFoxxOP7mo ago
Oh
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
AngieFoxx
AngieFoxxOP7mo ago
I thought I did
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
AngieFoxx
AngieFoxxOP7mo ago
:peepoNoted:
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
AngieFoxx
AngieFoxxOP7mo ago
Yeah it's not very clear
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
reflectronic
reflectronic7mo ago
you don't have to do anything with the terminal
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
reflectronic
reflectronic7mo ago
yes, you just click on "Create your .NET project" once you have done "Open your folder"
AngieFoxx
AngieFoxxOP7mo ago
I don't have to do anything first with the solutions folder?
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
reflectronic
reflectronic7mo ago
"Create your .NET project" is the thing that does the thing with the solutions folder
AngieFoxx
AngieFoxxOP7mo ago
Oh okay Thanks for clearing that up What option do I choose? 😭
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
AngieFoxx
AngieFoxxOP7mo ago
Okay I was going to do that one, seemed the most obvious
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
AngieFoxx
AngieFoxxOP7mo ago
Okay so this computer is just stupid slow I thought nothing was working Just had to wait without clicking It worked
AngieFoxx
AngieFoxxOP7mo ago
does this look right?
AngieFoxx
AngieFoxxOP7mo ago
No description
AngieFoxx
AngieFoxxOP7mo ago
@reflectronic i require assistanc pls
reflectronic
reflectronic7mo ago
yeah you can start writing your code in Program.cs
AngieFoxx
AngieFoxxOP7mo ago
:peepoNoted: So that's it then? I should be done?
reflectronic
reflectronic7mo ago
i mean, there's no more "setup," right you can start coding and running and debugging etc.
AngieFoxx
AngieFoxxOP7mo ago
That's what I meant, ye
AngieFoxx
AngieFoxxOP7mo ago
Thanks for the help I would've given up @reflectronic if ur still online Id like some help again :maxpain:
reflectronic
reflectronic7mo ago
yes, of course
AngieFoxx
AngieFoxxOP7mo ago
I've done something wrong and i don't know what I can't run and debug Apparently there's no project
reflectronic
reflectronic7mo ago
what exactly are you trying to do, and what is the error you get
AngieFoxx
AngieFoxxOP7mo ago
Im just trying to run a hello world command 😭 I think I did something wrong when creating the folders at the beginning ill send a screenshot in a moment
AngieFoxx
AngieFoxxOP7mo ago
No description
AngieFoxx
AngieFoxxOP7mo ago
:catfine:
AngieFoxx
AngieFoxxOP7mo ago
No description
reflectronic
reflectronic7mo ago
what happens when you click More Information
AngieFoxx
AngieFoxxOP7mo ago
it takesme to a webpage
reflectronic
reflectronic7mo ago
if you switch to Output, what does it say
AngieFoxx
AngieFoxxOP7mo ago
Nothing
reflectronic
reflectronic7mo ago
can you send a picture
AngieFoxx
AngieFoxxOP7mo ago
No description
AngieFoxx
AngieFoxxOP7mo ago
For some reason it doesn't recognise that I have a .cs file open
reflectronic
reflectronic7mo ago
switch it from "Tasks" to "C# Dev Kit"
AngieFoxx
AngieFoxxOP7mo ago
Im relaunching vscode Didnt fix anything I'll send a ss, one sec
AngieFoxx
AngieFoxxOP7mo ago
No description
reflectronic
reflectronic7mo ago
if you go to the terminal, and type dotnet restore, what happens
AngieFoxx
AngieFoxxOP7mo ago
It says all projects are up to date for restore Okay wow It's working now I think? Maybe Idk Something definitely happened It worked :CH_HyperYay: I think? Im not entirely sure Well it does say Hello world So I guess it works then Thanks for the help again :catlove:
reflectronic
reflectronic7mo ago
i guess it was just taking a minute to load
AngieFoxx
AngieFoxxOP7mo ago
Yeah Real slow computer.. :maxpain: Uh it's midnight, I gotta get some sleep Hopefully tommorow I'll be able to actually start with some programming And not run into errors beforehand
Want results from more Discord servers?
Add your server