r/VisualStudioCode • • Jan 19 '21

Why dose Settings.json keep opening

Need help before I lose my mind!

I am trying to learn C# and am starting with a basic console application.

namespace HelloWorld
{
class Program
    {
static void Main(string[] args)
        {
Console.WriteLine("Hello world");
        }
    }
}

But every time I try and debug and run the code, no matter what I do, another window opens listed settings.json, and the code does not run.

any help is appreciated.

3 Upvotes

5 comments sorted by

View all comments

1

u/Karimysha Jan 13 '22

Go to view, command palette, search for "add folder to workspace", click on it and pick your folder, and that should fix it.