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
Angius7mo ago
Does it build fine?
DemonicSavage
DemonicSavageOP7mo ago
Yes.
Angius
Angius7mo ago
Maybe it's just Omnisharp having an aneurysm then
Buddy
Buddy7mo ago
Use DevKit Forget about O#
Angius
Angius7mo ago
Was about to say, yeah
DemonicSavage
DemonicSavageOP7mo ago
Ah, OK Oh, I have Dev Kit installed apparently.
Buddy
Buddy7mo ago
$vscode
MODiX
MODiX7mo 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
DemonicSavageOP7mo ago
That is what I did, yeah?
Angius
Angius7mo ago
Huh... What's your .NET version? And what version does the project use?
DemonicSavage
DemonicSavageOP7mo ago
8.0.4 And 8.0.4
Angius
Angius7mo ago
Huh No idea what else could be wrong besides "VSCode being VSCode"
DemonicSavage
DemonicSavageOP7mo ago
Huh
Buddy
Buddy7mo 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 User7mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server