32 Replies
I have looked around and I don't know how to start coding C# in VS code ..
I hope someone can help π
have you installed microsoft extensions c# devkit?
I have let me show you
Sorry about the quality
looks about right
do you want to use top level statements?
this whole project structure doesnt make sense
I don't know what they are but why not if it works
you would have something like this tipically
I am just learning things it's my week 2
yea im just saying, that's the issue here
Should I ... clear everything?
i would ye, if nothing important is to lose
and create a solution and projects
now that i see, why is there a c# folder inside another project folder hmm
ye
impo, i would use visual studio atleast for initial learning
that is much better in project and solution setup. once you get a good grip, you can always switch over to code
Ok let me clear everything
also, you cannot create project inside a project folder. you can however create a separate project in same solution file and link the dependencies
I am unable to remove the obj folder for some reason
Oh VS code is open
Done all clean
just create a folder
cd into that
and run the below
dotnet new console
sample console app will be created
and you can take it form there
Ok boss
As you suggested VS instead of VS code.. I am using it and got this
I got this message...
from console "dotnet run"
your output is set to "Debug" so thats expected :p
Oh wait.. it runs in a terminal like app
yes, its a console app
Is it expected ?
Ohhhh
Ok boss I will carry on from here
Big thanks to you all
btw, you can add a new terminal from view menu
Yp I just added it ..