The type or namespace name 'System' could not be found (are you missing a using directive or an asse

I am on Linux, using VSCode, and OmniSharp shows all of these messages on most lines, along with Predefined type 'System.Object' is not defined or imported. I've tried dotnet restore, dotnet clean etc.
15 Replies
Angius
Angius6mo ago
Does it build fine?
DemonicSavage
DemonicSavage6mo ago
Yes.
Angius
Angius6mo ago
Maybe it's just Omnisharp having an aneurysm then
Buddy
Buddy6mo ago
Use DevKit Forget about O#
Angius
Angius6mo ago
Was about to say, yeah
DemonicSavage
DemonicSavage6mo ago
Ah, OK Oh, I have Dev Kit installed apparently.
Buddy
Buddy6mo ago
$vscode
MODiX
MODiX6mo ago
Follow the instructions here on getting started with DevKit for C# in VSCode: https://code.visualstudio.com/docs/csharp/get-started
Get started with C# and .NET in Visual Studio Code
Getting Started with C# and .NET Development in Visual Studio Code
DemonicSavage
DemonicSavage6mo ago
That is what I did, yeah?
Angius
Angius6mo ago
Huh... What's your .NET version? And what version does the project use?
DemonicSavage
DemonicSavage6mo ago
8.0.4 And 8.0.4
Angius
Angius6mo ago
Huh No idea what else could be wrong besides "VSCode being VSCode"
DemonicSavage
DemonicSavage6mo ago
Huh
Buddy
Buddy6mo ago
VSCode is a horrible editor, yes. At least regarding bugs Though it's not VSCode itself but the extensions for it
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server