Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

visual studio code intellisense not working(mac)

after opening the C# project I get

fail]: OmniSharp.MSBuild.ProjectManager
        Attempted to update project that is not loaded: Desktop/UNITY STUFF/action platformer/Assembly-CSharp.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
        Attempted to update project that is not loaded: Desktop/UNITY STUFF/action platformer/Assembly-CSharp-Editor.csproj

does anyone have a solution? thanks in advance

like image 613
Jival pal Avatar asked Sep 20 '25 09:09

Jival pal


1 Answers

Close Visual Studio. In Unity go to Edit < Preferences < External Tools And make sure External Script Editor is Visual Studio so that additional checkboxes appear.

Make sure Generate all csproj files is checked, and Editor Attaching is checked

On MacOS: Check all checboxes. Click "Regenerate project files".

You may need to close and reopen Visual Studio.

like image 66
Vasil3 Avatar answered Sep 23 '25 05:09

Vasil3