C
C#10mo ago
SilkieAngie

✅ .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
reflectronic10mo ago
if you open a new cmd window (like, outside of VS Code), does it work
SilkieAngie
SilkieAngieOP10mo 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
SilkieAngie
SilkieAngieOP10mo ago
2 years and I can finally start programminnn
reflectronic
reflectronic10mo ago
well i don't know what happened but i am glad it's working
SilkieAngie
SilkieAngieOP10mo ago
I may still need a bit more help setting up tho
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
SilkieAngie
SilkieAngieOP10mo ago
:CH_PepeDead:
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
SilkieAngie
SilkieAngieOP10mo 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 User10mo ago
Message Not Public
Sign In & Join Server To View
SilkieAngie
SilkieAngieOP10mo ago
Okay
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
SilkieAngie
SilkieAngieOP10mo ago
I'm confused now :CH_Stressed: So I created the solutions folder
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
SilkieAngie
SilkieAngieOP10mo ago
It's in the ;vscode folder, alongside cli and extensions
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
SilkieAngie
SilkieAngieOP10mo ago
.vscode*
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
SilkieAngie
SilkieAngieOP10mo ago
Sure, lemme do that
SilkieAngie
SilkieAngieOP10mo ago
No description
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
SilkieAngie
SilkieAngieOP10mo ago
Mhm Im smol brained
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
SilkieAngie
SilkieAngieOP10mo ago
I don't have that shown, I have folders open
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
SilkieAngie
SilkieAngieOP10mo ago
No description
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
SilkieAngie
SilkieAngieOP10mo ago
Im still confused 😭 Have I done anything wrong?
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
SilkieAngie
SilkieAngieOP10mo ago
Oh
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
SilkieAngie
SilkieAngieOP10mo ago
I thought I did
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
SilkieAngie
SilkieAngieOP10mo ago
:peepoNoted:
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
SilkieAngie
SilkieAngieOP10mo ago
Yeah it's not very clear
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
reflectronic
reflectronic10mo ago
you don't have to do anything with the terminal
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
reflectronic
reflectronic10mo ago
yes, you just click on "Create your .NET project" once you have done "Open your folder"
SilkieAngie
SilkieAngieOP10mo ago
I don't have to do anything first with the solutions folder?
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
reflectronic
reflectronic10mo ago
"Create your .NET project" is the thing that does the thing with the solutions folder
SilkieAngie
SilkieAngieOP10mo ago
Oh okay Thanks for clearing that up What option do I choose? 😭
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
SilkieAngie
SilkieAngieOP10mo ago
Okay I was going to do that one, seemed the most obvious
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
SilkieAngie
SilkieAngieOP10mo ago
Okay so this computer is just stupid slow I thought nothing was working Just had to wait without clicking It worked
SilkieAngie
SilkieAngieOP10mo ago
does this look right?
SilkieAngie
SilkieAngieOP10mo ago
No description
SilkieAngie
SilkieAngieOP10mo ago
@reflectronic i require assistanc pls
reflectronic
reflectronic10mo ago
yeah you can start writing your code in Program.cs
SilkieAngie
SilkieAngieOP10mo ago
:peepoNoted: So that's it then? I should be done?
reflectronic
reflectronic10mo ago
i mean, there's no more "setup," right you can start coding and running and debugging etc.
SilkieAngie
SilkieAngieOP10mo ago
That's what I meant, ye
SilkieAngie
SilkieAngieOP10mo ago
Thanks for the help I would've given up @reflectronic if ur still online Id like some help again :maxpain:
reflectronic
reflectronic10mo ago
yes, of course
SilkieAngie
SilkieAngieOP10mo ago
I've done something wrong and i don't know what I can't run and debug Apparently there's no project
reflectronic
reflectronic10mo ago
what exactly are you trying to do, and what is the error you get
SilkieAngie
SilkieAngieOP10mo 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
SilkieAngie
SilkieAngieOP10mo ago
No description
SilkieAngie
SilkieAngieOP10mo ago
:catfine:
SilkieAngie
SilkieAngieOP10mo ago
No description
reflectronic
reflectronic10mo ago
what happens when you click More Information
SilkieAngie
SilkieAngieOP10mo ago
it takesme to a webpage
reflectronic
reflectronic10mo ago
if you switch to Output, what does it say
SilkieAngie
SilkieAngieOP10mo ago
Nothing
reflectronic
reflectronic10mo ago
can you send a picture
SilkieAngie
SilkieAngieOP10mo ago
No description
SilkieAngie
SilkieAngieOP10mo ago
For some reason it doesn't recognise that I have a .cs file open
reflectronic
reflectronic10mo ago
switch it from "Tasks" to "C# Dev Kit"
SilkieAngie
SilkieAngieOP10mo ago
Im relaunching vscode Didnt fix anything I'll send a ss, one sec
SilkieAngie
SilkieAngieOP10mo ago
No description
reflectronic
reflectronic10mo ago
if you go to the terminal, and type dotnet restore, what happens
SilkieAngie
SilkieAngieOP10mo 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
reflectronic10mo ago
i guess it was just taking a minute to load
SilkieAngie
SilkieAngieOP10mo 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

Did you find this page helpful?