C
C#β€’4mo ago
ManishSAMA

Help ..

No description
32 Replies
ManishSAMA
ManishSAMAβ€’4mo ago
I have looked around and I don't know how to start coding C# in VS code .. I hope someone can help πŸ™
OrAnGe SaMuRaI
OrAnGe SaMuRaIβ€’4mo ago
have you installed microsoft extensions c# devkit?
ManishSAMA
ManishSAMAβ€’4mo ago
I have let me show you
ManishSAMA
ManishSAMAβ€’4mo ago
No description
ManishSAMA
ManishSAMAβ€’4mo ago
Sorry about the quality
OrAnGe SaMuRaI
OrAnGe SaMuRaIβ€’4mo ago
looks about right do you want to use top level statements?
tera
teraβ€’4mo ago
this whole project structure doesnt make sense
No description
ManishSAMA
ManishSAMAβ€’4mo ago
I don't know what they are but why not if it works
tera
teraβ€’4mo ago
you would have something like this tipically
Example
β”‚ Example.sln
β”‚
β”œβ”€β”€β”€Bar
β”‚ Bar.csproj
β”‚ Program.cs
β”‚
└───Foo
Foo.csproj
Program.cs
Example
β”‚ Example.sln
β”‚
β”œβ”€β”€β”€Bar
β”‚ Bar.csproj
β”‚ Program.cs
β”‚
└───Foo
Foo.csproj
Program.cs
ManishSAMA
ManishSAMAβ€’4mo ago
I am just learning things it's my week 2
tera
teraβ€’4mo ago
yea im just saying, that's the issue here
ManishSAMA
ManishSAMAβ€’4mo ago
Should I ... clear everything?
tera
teraβ€’4mo ago
i would ye, if nothing important is to lose and create a solution and projects
OrAnGe SaMuRaI
OrAnGe SaMuRaIβ€’4mo ago
now that i see, why is there a c# folder inside another project folder hmm
tera
teraβ€’4mo ago
ye
OrAnGe SaMuRaI
OrAnGe SaMuRaIβ€’4mo ago
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
ManishSAMA
ManishSAMAβ€’4mo ago
Ok let me clear everything
OrAnGe SaMuRaI
OrAnGe SaMuRaIβ€’4mo ago
also, you cannot create project inside a project folder. you can however create a separate project in same solution file and link the dependencies
ManishSAMA
ManishSAMAβ€’4mo ago
I am unable to remove the obj folder for some reason Oh VS code is open Done all clean
ManishSAMA
ManishSAMAβ€’4mo ago
No description
OrAnGe SaMuRaI
OrAnGe SaMuRaIβ€’4mo ago
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
ManishSAMA
ManishSAMAβ€’4mo ago
Ok boss As you suggested VS instead of VS code.. I am using it and got this
ManishSAMA
ManishSAMAβ€’4mo ago
No description
ManishSAMA
ManishSAMAβ€’4mo ago
I got this message...
OrAnGe SaMuRaI
OrAnGe SaMuRaIβ€’4mo ago
from console "dotnet run"
Pobiega
Pobiegaβ€’4mo ago
your output is set to "Debug" so thats expected :p
ManishSAMA
ManishSAMAβ€’4mo ago
Oh wait.. it runs in a terminal like app
Pobiega
Pobiegaβ€’4mo ago
yes, its a console app
ManishSAMA
ManishSAMAβ€’4mo ago
Is it expected ? Ohhhh Ok boss I will carry on from here Big thanks to you all
ManishSAMA
ManishSAMAβ€’4mo ago
No description
OrAnGe SaMuRaI
OrAnGe SaMuRaIβ€’4mo ago
btw, you can add a new terminal from view menu
ManishSAMA
ManishSAMAβ€’4mo ago
Yp I just added it ..