C
C#9mo ago
Asoko

✅ Visual Studio Code C#

Hellooo, can anyone here help me to use Visual Studio Code C#? I am confused
18 Replies
Jimmacle
Jimmacle9mo ago
$details
MODiX
MODiX9mo ago
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, and what you expect the result to be. Upload code here https://paste.mod.gg/ (see $code for more information on how to paste your code)
Jimmacle
Jimmacle9mo ago
you haven't described the problem you're having
Asoko
AsokoOP9mo ago
[Running] scriptcs "d:\C# Newbie\HelloWorld.cs" 'scriptcs' is not recognized as an internal or external command, operable program or batch file. My problem is this, i cant run simple code in Visual Studio code
Jimmacle
Jimmacle9mo ago
i don't know what scriptcs is but that's not normally how you build C# projects you need the .NET SDK installed and the C# Dev Kit extension in VS Code then create a project with dotnet new console in the terminal $vscode
MODiX
MODiX9mo ago
Follow the instructions here on getting started with DevKit for C# in VSCode: https://code.visualstudio.com/docs/csharp/get-started
Get started with C# and .NET in Visual Studio Code
Getting Started with C# and .NET Development in Visual Studio Code
Asoko
AsokoOP9mo ago
I already created a new workspace for C# and new file with .cs extension, no idea how to do this
Jimmacle
Jimmacle9mo ago
that's wrong C# projects are not just .cs files
Asoko
AsokoOP9mo ago
Really? but i just started to learn C#, so i dont know other than .cs
Jimmacle
Jimmacle9mo ago
have you read the link i sent yet?
Asoko
AsokoOP9mo ago
Starting to read now Okay i've created a new workspace called C#
Asoko
AsokoOP9mo ago
Tis is the current looking of visual studio, how can i continue from here?
No description
Asoko
AsokoOP9mo ago
I cant seem to understand the web from that link so forgive me
Jimmacle
Jimmacle9mo ago
which part of the page has you confused? an editor with nothing open doesn't tell me much
Asoko
AsokoOP9mo ago
am currently in school, so sorry if i dont respond to you rn, my teacher is very busy
Pobiega
Pobiega9mo ago
C# is project based, not file based. You need to create a project with dotnet new console Also, avoid having spaces and special characters in your path
Odd_Dev_404
Odd_Dev_4049mo ago
If you're on a Windows environment, installing Visual Studio Community Edition would be easier rather than using VS Code.
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server