6 Replies
i could not find any file called ".NET Core project" anywhere on my pc
its recommended you use Visual Studio for C# specially if youre new
its a lot easier to get around with stuff regarding C# :thinker:
Yeah, VS code support for C# is weird, especially on linux
Mostly because of dotnet not having a definitive way to install on linux
Do you have a project or just a loose
.cs
file?
.NET is project-based, you need the project file for everything to work
dotnet new
will let you create a new project. dotnet new console
for a simple CLI project, for example
This will generate both the Program.cs
file, as well as the .csproj
project file$vscode
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