I’m currently learning C# through a beginner course provided by Microsoft. I followed the instructor’s steps precisely, but I keep encountering an error.
Here are the steps I followed:
-
Created a new Console App using the command
dotnet new console
inside Powershell. -
Opened the
project
in VS Code withcode .
-
Installed the
C# extension
. -
Attempted to debug
Program.cs
using theF5
key.
Despite following these steps, I keep receiving the error:
"No C# project is currently loaded. Please create a C# project in order to debug."
Do you have any ideas on how to resolve this issue?