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
Does it build fine?
Yes.
Maybe it's just Omnisharp having an aneurysm then
Use DevKit
Forget about O#
Was about to say, yeah
Ah, OK
Oh, I have Dev Kit installed apparently.
$vscode
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
That is what I did, yeah?
Huh... What's your .NET version?
And what version does the project use?
8.0.4
And 8.0.4
Huh
No idea what else could be wrong besides "VSCode being VSCode"
Huh
VSCode is a horrible editor, yes.
At least regarding bugs
Though it's not VSCode itself but the extensions for it
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View