C
C#β€’10mo ago
Manish

Help ..

No description
32 Replies
Manish
ManishOPβ€’10mo 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β€’10mo ago
have you installed microsoft extensions c# devkit?
Manish
ManishOPβ€’10mo ago
I have let me show you
Manish
ManishOPβ€’10mo ago
No description
Manish
ManishOPβ€’10mo ago
Sorry about the quality
OrAnGe SaMuRaI
OrAnGe SaMuRaIβ€’10mo ago
looks about right do you want to use top level statements?
tera
teraβ€’10mo ago
this whole project structure doesnt make sense
No description
Manish
ManishOPβ€’10mo ago
I don't know what they are but why not if it works
tera
teraβ€’10mo 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
Manish
ManishOPβ€’10mo ago
I am just learning things it's my week 2
tera
teraβ€’10mo ago
yea im just saying, that's the issue here
Manish
ManishOPβ€’10mo ago
Should I ... clear everything?
tera
teraβ€’10mo ago
i would ye, if nothing important is to lose and create a solution and projects
OrAnGe SaMuRaI
OrAnGe SaMuRaIβ€’10mo ago
now that i see, why is there a c# folder inside another project folder hmm
tera
teraβ€’10mo ago
ye
OrAnGe SaMuRaI
OrAnGe SaMuRaIβ€’10mo 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
Manish
ManishOPβ€’10mo ago
Ok let me clear everything
OrAnGe SaMuRaI
OrAnGe SaMuRaIβ€’10mo 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
Manish
ManishOPβ€’10mo ago
I am unable to remove the obj folder for some reason Oh VS code is open Done all clean
Manish
ManishOPβ€’10mo ago
No description
OrAnGe SaMuRaI
OrAnGe SaMuRaIβ€’10mo 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
Manish
ManishOPβ€’10mo ago
Ok boss As you suggested VS instead of VS code.. I am using it and got this
Manish
ManishOPβ€’10mo ago
No description
Manish
ManishOPβ€’10mo ago
I got this message...
OrAnGe SaMuRaI
OrAnGe SaMuRaIβ€’10mo ago
from console "dotnet run"
Pobiega
Pobiegaβ€’10mo ago
your output is set to "Debug" so thats expected :p
Manish
ManishOPβ€’10mo ago
Oh wait.. it runs in a terminal like app
Pobiega
Pobiegaβ€’10mo ago
yes, its a console app
Manish
ManishOPβ€’10mo ago
Is it expected ? Ohhhh Ok boss I will carry on from here Big thanks to you all
Manish
ManishOPβ€’10mo ago
No description
OrAnGe SaMuRaI
OrAnGe SaMuRaIβ€’10mo ago
btw, you can add a new terminal from view menu
Manish
ManishOPβ€’10mo ago
Yp I just added it ..
Want results from more Discord servers?
Add your server