I only get such an error when I press F5(run) in C#, all libraries are installed, .Net is installed. I deleted the app and reinstalled it but it didn't work.
Can you help me?(

No C# project is currently loaded. Please create a C# project in order to debug.
Source: C# Dev Kit (Extension)
When I press F5, the code does not work and I get an error as in the picture
To set up build and debug assets in your .NET project:
Ctrl + Shift + P.>.NET: Generate Assets for Build and Debug.You should now be all set to start debugging!
In my case I was following a couple different (older) walk throughs that used a mix of Command Pallet commands to create the C# project and solution.
dotnet new console
dotnet new sln
In the terminal I could run the project.
dotnet run
But I could not debug. Then I figured out that the "project" was not associated with the "solution". At the bottom of the Explorer pane open the Solution Explorer. If necessary, create a folder and then right click and Add Existing Project... Choose the csproj file in your directory and save everything.

Return to the Run and Debug tab and hit [F5].
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With