I am learning C# on my Manjaro Linux Notebook. I tried to install the ms-vscode.csharp extension, but when opening any .NET Core project I get the following Error Message:
This seem to have done it for me code -> preferences -> settings -> click this
;/ wish i had at least 10 reputation to post a picture here but it's the first icon in the top right looks like a lil piece of paper.
Then..
copy pasta this into settings.json
{
"explorer.compactFolders": false,
"update.mode": "none",
"workbench.iconTheme": "vscode-icons",
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"omnisharp.path": "latest",
"omnisharp.monoPath": "auto",
"csharp.semanticHighlighting.enabled": true,
"editor.formatOnType": true,
"[csharp]": {
"editor.defaultFormatter": "ms-dotnettools.csharp"
},
"[xml]": {
"editor.defaultFormatter": "DotJoshJohnson.xml"
},
"settingsSync.ignoredExtensions": [],
"window.zoomLevel": 0
}
that ^
"[csharp]": {
"editor.defaultFormatter": "ms-dotnettools.csharp"
},
"[xml]": {
"editor.defaultFormatter": "DotJoshJohnson.xml"
},
but i think this is what did the trick for me ^ specifically the [csharp]