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