I'm just trying to program in C# lol. Why is Visual Studio Code giving me so much trouble? When I searched for this error it led me to this post
ScriptCS 0.17.01 Error Unexpected named argument
When I try and change the json.settings with the following
{
"[jsonc]": {
"code-runner.executorMap": { "csharp": "scriptcs -script" },
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
}
}
But then I get THIS error: This setting does not support per-language configuration.
Please help me out, it's becoming extremely frustrating. I've uninstalled and reinstalled VS Code multiple times.
REVISION:
This is the code:
using System;
namespace HelloCS
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, C#!");
}
}
}
What runs in the console:
[Running] scriptcs -script "/Users.....
Copying directory 'bin' to 'scriptcs_bin'...
[Done] exited with code=0 in 2.174 seconds
So nothing prints out.