I just started the Udemy course on 2D games with Unity and C#, but I can’t make Intellisense work.
Environment
MacOS Ventura 13.3.1
VSCode April 2023 (version 1.78)
C# Extension version 1.25.4
mono --version
Mono JIT compiler version 6.12.0.182
(2020-02/6051b710727 Tue Jun 14 15:01:21 EDT 2022)
dotnet --info
.NET SDK:
Version: 7.0.302
Commit: 990cf98a27
Expected Behaviour
VSCode opens .cs
files and suggests transform
when typing transf
.
Actual Behaviour
The .NET Core SDK cannot be located:
A valid dotnet installation could not be found.
.NET Core debugging will not be enabled.
Make sure the .NET Core SDK is installed and is on the path.
Things I have tried
I have tried version 1.25.7
, 1.25.4
, and 1.25.0
of the OmniSharp C# extension. Each gives gives be a slight variation of the same problem, namely .NET missing, Mono missing, or both.
Inside the OmniSharp settings, I specified the Omnisharp: Sdk Path
with the output of which dotnet
.
And in Omnisharp: Mono Path
I specified the output of which mono
.
Also, Omnisharp: Use Modern Net
is set to False.
I would appreciate any help to make it work as the course is pretty much unenjoyable without that. Thanks!